Package net.minecraft.world.inventory
Interface ContainerListener
- All Known Implementing Classes:
AnvilScreen,CrafterMenu,CreativeInventoryListener,ItemCombinerScreen,SmithingScreen
public interface ContainerListener
-
Method Summary
Modifier and TypeMethodDescriptionvoiddataChanged(AbstractContainerMenu containerMenu, int dataSlotIndex, int value) voidslotChanged(AbstractContainerMenu containerToSend, int dataSlotIndex, ItemStack stack) Sends the contents of an inventory slot to the client-side Container.
-
Method Details
-
slotChanged
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
-