Jump to content

Leaderboard

Popular Content

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

  1. Is it possible to create config GUI's in 1.13.2? I noticed that GuiConfig was removed so I'm wondering if it's still doable or if I would need to write a custom solution.
    1 point
  2. What on earth is this for? if(stack == new ItemStack(this)) And why do you keep trying to compare damage > 1 ? What do you think that's achieving? All you need to do is clamp the item's damage value between 0 (undamaged) and item.maxDamage() (fully damaged, just before breaking) inclusive. By the way, you should be testing your code (and ideally running it through your IDE's debugger when it fails) rather than just inventing snippets to post here.
    1 point
  3. Don't use static intializers. instantinate the registry entries in the appropriate registry event.
    1 point
×
×
  • Create New...

Important Information

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