Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/13/23 in all areas

  1. Can I see the ItemInit? Edit: oh I just noticed what you're doing there. That would be your ToolInit if I'm not mistaken, right? So, to achieve what you want to do you could create the ToolInit which should not extend anything and implement the deferred register in it. Then create your own class of the item and instead of doing new Item or AxeItem you do new YourClass. The class we're talking about should extend the type of item you want to imitate, in this case it seems it's an AxeItem. So YourClass extends AxeItem. Then in that class you override appendHoverText and write stuff inside it.
    1 point
  2. There are cases where the section hasn't been generated yet. As such, you would need to perform numerous safety checks. I would look at OreFeature and BulkSectionAccess for examples on how to safely check the block state of certain blocks.
    1 point
×
×
  • Create New...

Important Information

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