Jump to content

Choonster

Moderators
  • Posts

    5172
  • Joined

  • Last visited

  • Days Won

    78

Posts posted by Choonster

  1.   On 2/24/2025 at 11:00 AM, 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?

    Expand  

    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.

    • Like 1
  2. You're using the wrong FACING property in Mechanism#getStateForPlacementBlockStateProperties.FACING instead of Mechanism.FACINGHorizontalDirectionalBlock.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.

×
×
  • Create New...

Important Information

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