Class AbstractBaseContainerMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
com.refinedmods.refinedstorage.common.support.AbstractBaseContainerMenu
- Direct Known Subclasses:
AbstractAutocraftingMonitorContainerMenu,AbstractResourceContainerMenu,AbstractSecurityCardContainerMenu,AutocrafterContainerMenu,AutocrafterManagerContainerMenu,ControllerContainerMenu,NetworkTransmitterContainerMenu,SecurityManagerContainerMenu,WirelessTransmitterContainerMenu
public abstract class AbstractBaseContainerMenu
extends net.minecraft.world.inventory.AbstractContainerMenu
-
Field Summary
FieldsFields inherited from class net.minecraft.world.inventory.AbstractContainerMenu
CARRIED_SLOT_SIZE, containerId, QUICKCRAFT_HEADER_CONTINUE, QUICKCRAFT_HEADER_END, QUICKCRAFT_HEADER_START, QUICKCRAFT_TYPE_CHARITABLE, QUICKCRAFT_TYPE_CLONE, QUICKCRAFT_TYPE_GREEDY, SLOT_CLICKED_OUTSIDE, slots -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractBaseContainerMenu(net.minecraft.world.inventory.MenuType<?> type, int syncId) -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidaddPlayerInventory(net.minecraft.world.entity.player.Inventory inventory, int inventoryX, int inventoryY) protected final voidaddPlayerInventory(net.minecraft.world.entity.player.Inventory inventory, int inventoryX, int inventoryY, PlayerInventoryListener listener) booleancanTakeItemForPickAll(net.minecraft.world.item.ItemStack stack, net.minecraft.world.inventory.Slot slot) voidclicked(int id, int dragType, net.minecraft.world.inventory.ClickType clickType, net.minecraft.world.entity.player.Player player) <T> ClientProperty<T> getProperty(PropertyType<T> type) voidhandleFilterSlotChange(int slotIndex, net.minecraft.world.item.ItemStack stack) <T> booleanhasProperty(PropertyType<T> type) net.minecraft.world.item.ItemStackquickMoveStack(net.minecraft.world.entity.player.Player player, int index) voidreceivePropertyChangeFromClient(net.minecraft.resources.ResourceLocation id, int newValue) protected <T> voidregisterProperty(Property<T> property) protected voidMethods inherited from class net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, checkContainerDataCount, checkContainerSize, clearContainer, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftPlaceCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, removed, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, stillValid, suppressRemoteUpdates, transferState
-
Field Details
-
transferManager
-
disabledSlot
-
-
Constructor Details
-
AbstractBaseContainerMenu
protected AbstractBaseContainerMenu(@Nullable net.minecraft.world.inventory.MenuType<?> type, int syncId)
-
-
Method Details
-
receivePropertyChangeFromClient
public void receivePropertyChangeFromClient(net.minecraft.resources.ResourceLocation id, int newValue) -
resetSlots
protected void resetSlots() -
addPlayerInventory
protected final void addPlayerInventory(net.minecraft.world.entity.player.Inventory inventory, int inventoryX, int inventoryY) -
addPlayerInventory
protected final void addPlayerInventory(net.minecraft.world.entity.player.Inventory inventory, int inventoryX, int inventoryY, @Nullable PlayerInventoryListener listener) -
quickMoveStack
public net.minecraft.world.item.ItemStack quickMoveStack(net.minecraft.world.entity.player.Player player, int index) - Specified by:
quickMoveStackin classnet.minecraft.world.inventory.AbstractContainerMenu
-
clicked
public void clicked(int id, int dragType, net.minecraft.world.inventory.ClickType clickType, net.minecraft.world.entity.player.Player player) - Overrides:
clickedin classnet.minecraft.world.inventory.AbstractContainerMenu
-
canTakeItemForPickAll
public boolean canTakeItemForPickAll(net.minecraft.world.item.ItemStack stack, net.minecraft.world.inventory.Slot slot) - Overrides:
canTakeItemForPickAllin classnet.minecraft.world.inventory.AbstractContainerMenu
-
handleFilterSlotChange
public void handleFilterSlotChange(int slotIndex, net.minecraft.world.item.ItemStack stack)