Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/25/19 in all areas

  1. If you look at the usages of ItemRecord#getComparatorValue you can see that it is used for the comparator redstone output strength, not for comparing against the record in the jukebox. You can put whatever you'd like in it, not that you can have more than 16 redstone strength variants anyway, and I doubt players who use modded need your disk to output a uniqie strength anyway.
    1 point
  2. It isn't though. Just instantinate your items in the registry event. Your code currently instantinates them in a static initializer which is bad. In my case I just like to keep a reference to all my items with ObjectHolder annotation, but you don't need that. Thus if you don't keep the references and use the correct way of instantinating items in the registry event and unlike me use an actual loop/stream to register your models you are writing less code than what you have right now. Not to say that using static intializers will cause issues so you must instantinate your items in the registry event anyway.
    1 point
  3. Have you actually tried clicking "Yes"? What happens?
    1 point
  4. At your json model file for the item change the word "generated" to "handheld".
    1 point
  5. 1 point
×
×
  • Create New...

Important Information

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