Jump to content

Cadiboo

Members
  • Posts

    3624
  • Joined

  • Last visited

  • Days Won

    58

Everything posted by Cadiboo

  1. It’s an edit to Forge’s patches to minecraft to fix this error (and other errors caused by a null WSD).
  2. Install 64 bit java. You have 32 bit (x86) java installed.
  3. Unlocalised names/translation keys were made the same as registry names in 1.13.
  4. One of your mods is trying to use client-only code on the server. Remove this mod. If you post your debug.log from .minecraft/logs/ we can help find out which one it is.
  5. Public so we can see it would be nice
  6. Replace recipes with dummy implementions using json
  7. You should probably understand what that code is doing, and then port it differently. Without knowing what entitiyId or mobDrops.theEntity is, getClassFromName seems like the right replacement
  8. Don’t these make it so that any enchantment can always be applied to your sword?
  9. Looks pretty good. I would change a couple things - the registry name & unlocalised name should be the same and it looks like you’re only providing English translations.
  10. I'm not against having blocks + items load from JSON, I think that its a great idea and I've been planning on doing something like it that would also allow the blocks/items to be added when the player joins a server. I'm against mods creating json files in production. These files defeat the purpose of the JSON system altogether and do not allow resource packs/data packs from users/modpack makers to change enhance the look of the blocks.
  11. Use the BlockStateArgument https://github.com/Cadiboo/NoCubes/blob/b15098ba9d7c7f082be1112a3ab9c7ac95370a02/src/main/java/io/github/cadiboo/nocubes/config/ConfigHelper.java#L261-L270
  12. He means read the text underneath his post (his signature) and go to the “logs” section. (This text is not visible on mobile)
  13. The version of the jar file in your script is #2836 (forge-1.12.2-14.23.5.2836-universal.jar) but the one in the folder is #2838 (forge-1.12.2-14.23.5.2838-universal.jar)
  14. You would fix it by fixing the broken json file. I don’t know which json file, but it’s going to be one that’s related to islands. It’s saying that the json file is starting with a string (“blah”) when it should be starting with an object declaration ({)
  15. You’ve got an invalid JSON file that has to do with islands
  16. These fields are never set to anything, so they are always null when used. @ObjectHolder would fill these values for you if you used it https://github.com/Cadiboo/Example-Mod/blob/1.14.2/src/main/java/io/github/cadiboo/examplemod/init/ModTileEntityTypes.java
  17. I highly recommend not doing what you’re doing.
  18. Forge was initially a jar mod (you would directly drop it into the minecraft jar) which is legally questionable. It was quickly converted to load by wrapping the minecraft launch and modifying specific class as they were loaded (with binary patches that were applied to the raw bytes of the classes as they were loaded from disk). This method is a lot less questionable. Since 1.13.2 it applies it’s patches once (at install time) to a copy of the minecraft jar which it then launches. This removes the time it took to patch the files each launch making loading faster. Forge is “the unofficial modding API for minecraft”. It provides an abstraction layer on top of Minecraft and many useful API features. It allows many mods to load at the same time in a highly compatible manner. If you’re interested in how Forge applies it’s patches google “delta patching” and “java ASM”/“bytecode modification”.
  19. Here’s my example config (I’ve changed it a little since this commit so be sure to check out the latest code too) https://github.com/Cadiboo/Example-Mod/commit/43db50e176d758ade2338764d7e2fe1b63aae7dd#diff-cb1dc14ae764daf38ef877fabbe0d72aR37
  20. See how vanilla does it.
  21. The thing that I’m assuming you’re using to fill BetterStorageTileEntityTypes.LOCKER. Please post the entire BetterStorageTileEntityTypes class. Info on @ObjectHolder: https://mcforge.readthedocs.io/en/latest/concepts/registries/#injecting-registry-values-into-fields
  22. Every mod is it’s own resource pack and data pack
  23. Post your debug.log from .minecraft/logs/
  24. Remember to always report mod errors to mod authors otherwise stuff won’t get fixed!
×
×
  • Create New...

Important Information

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