Interface ContainerListener

All Known Implementing Classes:
AnvilScreen, CrafterMenu, CreativeInventoryListener, ItemCombinerScreen, SmithingScreen

public interface ContainerListener
  • Method Details

    • slotChanged

      void slotChanged(AbstractContainerMenu containerToSend, int dataSlotIndex, ItemStack stack)
      Sends the contents of an inventory slot to the client-side Container. This doesn't have to match the actual contents of that slot.
    • dataChanged

      void dataChanged(AbstractContainerMenu containerMenu, int dataSlotIndex, int value)