Class FactoryPanelSetItemMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
com.simibubi.create.foundation.gui.menu.MenuBase<FactoryPanelBehaviour>
com.simibubi.create.foundation.gui.menu.GhostItemMenu<FactoryPanelBehaviour>
com.simibubi.create.content.logistics.factoryBoard.FactoryPanelSetItemMenu
- All Implemented Interfaces:
IClearableMenu
-
Field Summary
Fields inherited from class com.simibubi.create.foundation.gui.menu.GhostItemMenu
ghostInventoryFields inherited from class com.simibubi.create.foundation.gui.menu.MenuBase
contentHolder, player, playerInventoryFields 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
ConstructorsConstructorDescriptionFactoryPanelSetItemMenu(net.minecraft.world.inventory.MenuType<?> type, int id, net.minecraft.world.entity.player.Inventory inv, FactoryPanelBehaviour contentHolder) FactoryPanelSetItemMenu(net.minecraft.world.inventory.MenuType<?> type, int id, net.minecraft.world.entity.player.Inventory inv, net.minecraft.network.RegistryFriendlyByteBuf extraData) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddSlots()protected booleanstatic FactoryPanelSetItemMenucreate(int id, net.minecraft.world.entity.player.Inventory inv, FactoryPanelBehaviour be) protected net.neoforged.neoforge.items.ItemStackHandlerprotected FactoryPanelBehaviourcreateOnClient(net.minecraft.network.RegistryFriendlyByteBuf extraData) protected voidsaveData(FactoryPanelBehaviour contentHolder) Methods inherited from class com.simibubi.create.foundation.gui.menu.GhostItemMenu
canDragTo, canTakeItemForPickAll, clearContents, clicked, initAndReadInventory, moveItemStackTo, quickMoveStackMethods inherited from class com.simibubi.create.foundation.gui.menu.MenuBase
addPlayerSlots, createPlayerSlot, init, removed, stillValidMethods inherited from class net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canItemQuickReplace, checkContainerDataCount, checkContainerSize, clearContainer, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftPlaceCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferStateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.simibubi.create.foundation.gui.menu.IClearableMenu
sendClearPacket
-
Constructor Details
-
FactoryPanelSetItemMenu
public FactoryPanelSetItemMenu(net.minecraft.world.inventory.MenuType<?> type, int id, net.minecraft.world.entity.player.Inventory inv, FactoryPanelBehaviour contentHolder) -
FactoryPanelSetItemMenu
public FactoryPanelSetItemMenu(net.minecraft.world.inventory.MenuType<?> type, int id, net.minecraft.world.entity.player.Inventory inv, net.minecraft.network.RegistryFriendlyByteBuf extraData)
-
-
Method Details
-
create
public static FactoryPanelSetItemMenu create(int id, net.minecraft.world.entity.player.Inventory inv, FactoryPanelBehaviour be) -
createGhostInventory
protected net.neoforged.neoforge.items.ItemStackHandler createGhostInventory()- Specified by:
createGhostInventoryin classGhostItemMenu<FactoryPanelBehaviour>
-
allowRepeats
protected boolean allowRepeats()- Specified by:
allowRepeatsin classGhostItemMenu<FactoryPanelBehaviour>
-
createOnClient
protected FactoryPanelBehaviour createOnClient(net.minecraft.network.RegistryFriendlyByteBuf extraData) - Specified by:
createOnClientin classMenuBase<FactoryPanelBehaviour>
-
addSlots
protected void addSlots()- Specified by:
addSlotsin classMenuBase<FactoryPanelBehaviour>
-
saveData
- Specified by:
saveDatain classMenuBase<FactoryPanelBehaviour>
-