Jump to content

Choonster

Moderators
  • Posts

    5117
  • Joined

  • Last visited

  • Days Won

    75

Everything posted by Choonster

  1. I've never played Warframe, so that's not me.
  2. On Unix-like systems, look in ~/.gradle rather than %USER_HOME%\.gradle for the Gradle caches.
  3. 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.
  4. Those are builds for 1.3.2 from 2014, they're not for 1.13.2.
  5. 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.
  6. 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.
  7. 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.
  8. Which part didn't you understand? Do you know how to create the replacement recipe? Do you know how to override a registry entry?
  9. 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.
  10. @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.
  11. 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.
  12. Instead of calling MinecraftForge.EVENT_BUS.register or using the @EventBusSubscriber annotation, you call MinecraftForge.ORE_GEN_BUS.register.
  13. You need to register your event handler with MinecraftForge.ORE_GEN_BUS instead of MinecraftForge.EVENT_BUS.
  14. As it says in the doc comment of OreGenEvent:
  15. When using @Mod.EventBusSubscriber, your event handler methods need to be static. Your lootLoad method isn't.
  16. Both of those are valid. The important thing is that you call that constructor, it doesn't matter where you get the values from.
  17. 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.
  18. If your item uses the container item system to damage itself (like my ItemCuttingAxe), you don't need to create your own recipe class; just use one of the existing Vanilla or Forge classes. You only need to damage the item in the recipe if you're using an item from Vanilla or another mod.
  19. Your lang file needs to be called en_us.lang (with an underscore), not en-us.lang (with a dash).
  20. Those files are handled by the UserListX objects in the server's PlayerList instance.
  21. 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.
  22. 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.
  23. Your code is trying to load a Kotlin class, but Minecraft/Forge don't ship with the Kotlin library. As with any other library, you'll either need to have users install it themselves or embed the library in your mod's JAR and have Forge extract it.
  24. Use the non-deprecated overload that takes a Callable argument.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.