-
Posts
5172 -
Joined
-
Last visited
-
Days Won
78
Everything posted by Choonster
-
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.
-
-
Forge only supports Java Edition, you'll need to ask elsewhere for Pocket Edition support. Also, don't post in unrelated topics. I've split your post into its own topic.
-
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.
-
1.21.1 Resource Location constructor is private?
Choonster replied to Epithagamus's topic in Modder Support
Use one of the static methods on the class to create a new instance. -
[1.21.3] Lower the durability of a tool in a crafting table recipe
Choonster replied to yoggiou's topic in Modder Support
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. -
Use the public BlockEntityType constructor.
-
Charged Card but Server Wasn't Processed
Choonster replied to orangeceg's topic in Support & Bug Reports
You need to talk to whoever you bought the server from. Forge doesn't sell servers. -
-
MC Server Crashing MC Eternal *Reward for Fixing*
Choonster replied to redryder's topic in Support & Bug Reports
-
Please keep this forum in English.