Posts posted by Choonster
-
-
-
Forge for 1.21.6 and newer uses EventBus 7, which is a major rewrite. You can read the migration guide here, this explains how to cancel events.
-
3 hours ago, deltablack_ said:
[06Jun2025 16:18:49.881] [main/ERROR] [net.minecraftforge.fml.loading.UniqueModListBuilder/LOADING]: Found duplicate mods:
Mod ID: 'rubidium' from mod files: rubidium-mc1.20.1-0.7.1.jar, embeddium-0.3.31+mc1.20.1.jarRubidium and Embeddium are versions of the same mod, you can only have one. I believe Embeddium is the one that's actively maintained.
-
Can you reproduce this with version 55.0.21? A whole lot of plant placement issues were just fixed in this PR.
-
3 hours ago, xLorkin said:
Haven't had much time to look into the DataGenerator and ModelProviders, because i'm still at work. But i guess these would would make more sense if have many custom items and want to generate these model definition files?
Yes, once you have data generation set up, it's a lot easier to add a line of code to your generator class than it is to copy, paste and edit 2-3 JSON files for each new item.
-
Minecraft 1.21.4 requires a new model definition file for each item, which you don't have. These can be created through Data Generation, specifically the ModelProvider, BlockModelGenerators and ItemModelGenerators classes.
-
-
-
-
-
-
You're using the wrong FACING property in Mechanism#getStateForPlacement, BlockStateProperties.FACING instead of Mechanism.FACING, HorizontalDirectionalBlock.FACING or BlockStateProperties.HORIZONTAL_FACING (which all refer to the same value). The former includes all six Direction values, the latter only includes the four horizontal values.
-
This is a Vanilla bug that's fixed by Forge, see the discussion here.
@fredvanYT Please keep this forum in English.
-
-
You need to create a custom recipe type that overrides IRecipe#getRemainingItems to return a copy of the axe with its durability reduced.
I've got a very similar recipe implementation here, there's code in other parts of the repository to handle things like registration and data generation.
-
-
-
-
-
-
-
-
-
Help fixing modpack with Exit Code: -1
in Support & Bug Reports