-
Posts
5117 -
Joined
-
Last visited
-
Days Won
75
Everything posted by Choonster
-
I've never played Warframe, so that's not me.
-
On Unix-like systems, look in ~/.gradle rather than %USER_HOME%\.gradle for the Gradle caches.
-
Forge 1.12.2-14.23.5.2779 deprecated ReflectionHelper and changed the methods in ObfuscationReflectionHelper to only require an SRG name rather than both an SRG and MCP name. This is what @quadraxis was talking about.
-
Those are builds for 1.3.2 from 2014, they're not for 1.13.2.
-
What do you mean "the forge version"? The only place you should download Forge from is the official Files site (https://files.minecraftforge.net/). There are no 1.13.x versions available there.
-
Where did you download this from? There are no public releases of Forge for 1.13.x yet, and Forge is only being developed for 1.13(.0) at the moment.
-
Is it possible to develop backwards compatible mods?
Choonster replied to Zeigfreid's topic in Modder Support
This is incorrect. Method and field names are reobfuscated from MCP to SRG names when you compile, but MCP and SRG class names are the same. Forge deobfuscates Minecraft from Notch to SRG names at runtime. -
Which part didn't you understand? Do you know how to create the replacement recipe? Do you know how to override a registry entry?
-
Did you read the post I linked?
-
I haven't dealt with 1.13's data packs yet and I'm not at my computer to test anything, but a possible issue is that your recipe file has .JSON as the extension rather than .json. If changing that doesn't work, post your log (I think it's logs/latest.log in the game directory) using Gist/Pastebin. There may be something useful in there.
-
@Config does work with Maps that have String keys, the Map becomes a category in the config file and the key-value pairs become properties. See here for an example of this.
-
If you use a static event handler method, you need to register the Class object with the event bus rather than an instance of the class. See the documentation for more information.
-
Instead of calling MinecraftForge.EVENT_BUS.register or using the @EventBusSubscriber annotation, you call MinecraftForge.ORE_GEN_BUS.register.
-
You need to register your event handler with MinecraftForge.ORE_GEN_BUS instead of MinecraftForge.EVENT_BUS.
-
As it says in the doc comment of OreGenEvent:
-
When using @Mod.EventBusSubscriber, your event handler methods need to be static. Your lootLoad method isn't.
-
This particular ArrayIndexOutOfBoundsException is caused by calling the ItemAxe(ToolMaterial) constructor with a non-Vanilla ToolMaterial as it tries to look up the attack speed and damage using the ToolMaterial's ordinal as an array index. These arrays only have as many entries as their are Vanilla ToolMaterials, so any modded ToolMaterial's ordinal causes an ArrayIndexOutOfBoundsException. The solution is to use the ItemAxe(ToolMaterial, float, float) constructor and specify the attack damage and speed yourself.
-
Your lang file needs to be called en_us.lang (with an underscore), not en-us.lang (with a dash).
-
Where is the sever.properties file parsed at?
Choonster replied to jredfox's topic in Modder Support
Those files are handled by the UserListX objects in the server's PlayerList instance. -
Where is the sever.properties file parsed at?
Choonster replied to jredfox's topic in Modder Support
DedicatedServer#init creates an instance of PropertyManager to parse the server.properties file and stores it in the DedicatedServer#settings field. This is the first method called when the server thread starts up. -
[1.12.2 - Solved] Actual BlockStates not saving
Choonster replied to leduyquang753's topic in Modder Support
The whole point of using Block#getActualState is to set the values of properties that aren't saved to metadata and are instead derived from other data (e.g. surrounding blocks or a TileEntity). World#getBlockState only returns the metadata-based state at that position, so your override of Block#getActualState sets the facing property of the state argument to the same value it already had (0). Since the facing property can't be saved to metadata or derived from surrounding blocks, you need to store it in a TileEntity. -
Use the non-deprecated overload that takes a Callable argument.