Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/12/18 in all areas

  1. No, bad modder, no cookie. Items are singletons. You want to store data on an item stack, then you need to store that data in the ItemStack. You should use Capabilities for this, but NBT data is also available.
    1 point
  2. I can't understand what you're saying.
    1 point
  3. I learned yesterday(ish) that a certain someone hasn't been doing their last 5% necessary for it to be on Github so that the actual process of updating Forge can begin (where anyone can contribute).
    1 point
  4. Legit love you guys @DaemonUmbra and @Cadiboo. Resetting my machine worked! <3 (P.S You csn lock the thread now xD)
    1 point
  5. The problem is that the "getHeldItem" methods actually return ItemStack not Item. The method should really be named getHeldItemStackOffHand() instead. So you simply have to get the Item from the Itemstack, so add .getItem() at the end. like: playerSP.getHeldItemOffhand().getItem() instanceof ItemBlock
    1 point
×
×
  • Create New...

Important Information

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