Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 5 months ago. Improve this question
Tag: minecraft-forge
Discord webhook returnes error when called from Forge mod
What I want is to send a file over a discord webhook using java code. I created a perfectly working code using the knowledge I gained from this stackoverflow post about curl requests in java and this Discord webhooks guide about sending attachments. The problem is, if I call the exact same code, that works perfectly from a standard java
Is there a client-side version of onPlayerJoin?
Title says it all, I just wanna detect when a player joins a server client-side, and also how would I send a message to the client, not through the server? (the mod is supposed to send a message when the player joins and play a sound when you are not moving on a server like hypixel where it wont have
Minecraft forge server not working / downloading files
I’ve created a bat file with the command line ” java -Xmx1G -Xms1G -jar forge-1.12.2-14.23.5.2855.jar nogui ” inside my server folder. It keeps closing there is some kind of error. I removed my name of course from the folders and I blurred out the folder name it’s a stupid name. and that’s my folder. Answer This issue appear because of
how do i get the content of a chat message in minecraft?
I am coding a forge minecraft 1.12.2 mod and I need to know how do I get the contents of a chat message that someone sends in chat. I am using the ServerChatEvent event to sence messages but I do not know how to get the actual content of the message itself. Answer To get the message you can use
Registering entity rendering handler with Minecraft Forge 1.16.5
I’m following this tutorial to create a custom entity for my Minecraft mod. Unfortunately, the tutorial is written for a slightly older version of Minecraft (1.14), and some parts do not work with the latest version. I was up to registering the rendering handler for the entity, when I got this error: I tried looking at the Minecraft Forge documentation,
Forge 1.12.2 Coremodding: java.lang.StringIndexOutOfBoundsException
I try to make a coremod on 1.12.2 Forge in order to patch some missing stuff in the Lost Cities mod. (Source: https://github.com/McJtyMods/LostCities/blob/1.12/src/main/java/mcjty/lostcities/dimensions/world/lost/BuildingInfo.java) A friend and I have written this LostCitiesClassTransformer.java: (Full source: https://github.com/Nick1st/LCPatches) The original code I want to patch (Bytecode Outline): The Bytecode Outline containing my changes: The stacktrace I get: Why do I monkey-patch a open-source mod?
Forge 1.12.2 Coremodding: java.lang.ClassCircularityError
I try to make a coremod on 1.12.2 Forge in order to patch some missing stuff in the Lost Cities mod. (Source: https://github.com/McJtyMods/LostCities/blob/1.12/src/main/java/mcjty/lostcities/dimensions/world/lost/BuildingInfo.java) A friend and I have written this LostCitiesClassTransformer.java: The original code we want to patch (Bytecode Outline): The Bytecode Outline containing our fix: The Stacktrace we get: What we tried: We tried to get the building using
“Unable to load Maven meta-data” error from ForgeGradle on Mac OSX?
I am attempting to set up Eclipse and Minecraft Forge with Gradle on Mac OS X so I can try my hand at modding. Whenever I run either of the following commands, Gradle returns the same error: Error: I’ve found a number of issues on the web that seem similar to this, namely this one, but I don’t really understand
Java Jar ClassNotFoundException even though dependent library exists
I am creating a (Minecraft) Forge mod that uses the (unofficial) Discord API, JDA. I am doing this in the Eclipse IDE. In the IDE, I can add the JDA with dependencies just fine and get no errors in my code. Then, using gradlew and compiling it, I get an error when I try running it (in Minecraft). I had