
Everything posted by Cadiboo
-
Map Issues 1.14.3
It’s an edit to Forge’s patches to minecraft to fix this error (and other errors caused by a null WSD).
-
1.12.2 Forge doesn't work
Install 64 bit java. You have 32 bit (x86) java installed.
-
[1.12.2] Adding Resources at runtime
Unlocalised names/translation keys were made the same as registry names in 1.13.
-
1.12.2 server crash
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.
-
worlds and servers crash immediately on startup [forge 1.12.12]
Public so we can see it would be nice
-
[1.14.2] Removing vanilla recipes in 1.14
Replace recipes with dummy implementions using json
-
createEntityByIDFromName error 1.12.2
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
-
[1.14.2] SOLVED What controls appropriate enchantments?
Don’t these make it so that any enchantment can always be applied to your sword?
-
[1.12.2] Adding Resources at runtime
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.
-
[1.12.2] Adding Resources at runtime
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.
-
Get Block from String?
Use the BlockStateArgument https://github.com/Cadiboo/NoCubes/blob/b15098ba9d7c7f082be1112a3ab9c7ac95370a02/src/main/java/io/github/cadiboo/nocubes/config/ConfigHelper.java#L261-L270
-
[1.14.3] SOLVED onPlayerDestroy playing twice + how to send msg in chat
Post your updated code
-
worlds and servers crash immediately on startup [forge 1.12.12]
He means read the text underneath his post (his signature) and go to the “logs” section. (This text is not visible on mobile)
-
1.12.2 Forge doesn't work
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)
-
1.10.2 sky factory 3 crash
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 ({)
-
1.10.2 sky factory 3 crash
You’ve got an invalid JSON file that has to do with islands
-
[1.14.2] Registering TileEntites
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
-
[1.12.2] Adding Resources at runtime
I highly recommend not doing what you’re doing.
-
How best to describe Forge to an audience of programmers
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”.
-
[1.14.2] How does Config work in Forge for 1.14.2?
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
-
[1.12.2] Render player's hand in firstperson
See how vanilla does it.
-
[1.14.2] Registering TileEntites
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
-
[1.12.2] Adding Resources at runtime
Every mod is it’s own resource pack and data pack
-
1.14.2 crashes on startup
Post your debug.log from .minecraft/logs/
-
1.14.2 lastest forge crashes
Remember to always report mod errors to mod authors otherwise stuff won’t get fixed!
IPS spam blocked by CleanTalk.