Jump to content

vladilima

Members
  • Posts

    3
  • Joined

  • Last visited

vladilima's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Thanks! I tried this before in a different way, but the way you described it worked!
  2. private IItemHandler createHandler() { return new ItemStackHandler(1) { @Override public boolean isItemValid(int slot, @Nonnull ItemStack stack) { return stack.getItem() == ModItems.COPPERCOIN; } }; } This, as you can see, would only work with the Copper Coin item. I've tried several ways to make it accept Copper Coin, Silver Coin, and Gold Coin, but they always end up just not accepting literally any item or any item BUT the ones i want. How do i go about doing this?
×
×
  • Create New...

Important Information

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