Class WashingMachineContainer

java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
com.pixelmonmod.pixelmon.client.gui.machines.washingmachine.WashingMachineContainer

public class WashingMachineContainer extends net.minecraft.world.inventory.AbstractContainerMenu
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from class net.minecraft.world.inventory.AbstractContainerMenu

    CARRIED_SLOT_SIZE, containerId, containerListeners, QUICKCRAFT_HEADER_CONTINUE, QUICKCRAFT_HEADER_END, QUICKCRAFT_HEADER_START, QUICKCRAFT_TYPE_CHARITABLE, QUICKCRAFT_TYPE_CLONE, QUICKCRAFT_TYPE_GREEDY, SLOT_CLICKED_OUTSIDE, slots
  • Constructor Summary

    Constructors
    Constructor
    Description
    WashingMachineContainer(int windowId, net.minecraft.world.entity.player.Inventory inventory, WashingMachineTileEntity tileEntity)
     
    WashingMachineContainer(int windowId, net.minecraft.world.entity.player.Inventory inventoryPlayer, net.minecraft.network.FriendlyByteBuf buffer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    net.minecraft.world.item.ItemStack
    quickMoveStack(net.minecraft.world.entity.player.Player playerIn, int index)
     
    void
    setData(int id, int data)
     
    boolean
    stillValid(net.minecraft.world.entity.player.Player playerIn)
     

    Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenu

    addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastFullState, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftPlaceCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, removed, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • WashingMachineContainer

      public WashingMachineContainer(int windowId, net.minecraft.world.entity.player.Inventory inventory, WashingMachineTileEntity tileEntity)
    • WashingMachineContainer

      public WashingMachineContainer(int windowId, net.minecraft.world.entity.player.Inventory inventoryPlayer, net.minecraft.network.FriendlyByteBuf buffer)
  • Method Details

    • broadcastChanges

      public void broadcastChanges()
      Overrides:
      broadcastChanges in class net.minecraft.world.inventory.AbstractContainerMenu
    • setData

      public void setData(int id, int data)
      Overrides:
      setData in class net.minecraft.world.inventory.AbstractContainerMenu
    • quickMoveStack

      @Nullable public net.minecraft.world.item.ItemStack quickMoveStack(net.minecraft.world.entity.player.Player playerIn, int index)
      Specified by:
      quickMoveStack in class net.minecraft.world.inventory.AbstractContainerMenu
    • stillValid

      public boolean stillValid(net.minecraft.world.entity.player.Player playerIn)
      Specified by:
      stillValid in class net.minecraft.world.inventory.AbstractContainerMenu