Class AbstractAutocraftingMonitorContainerMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
com.refinedmods.refinedstorage.common.support.AbstractBaseContainerMenu
com.refinedmods.refinedstorage.common.autocrafting.monitor.AbstractAutocraftingMonitorContainerMenu
- All Implemented Interfaces:
TaskStatusListener
,AutocraftingMonitorWatcher
- Direct Known Subclasses:
AutocraftingMonitorContainerMenu
,WirelessAutocraftingMonitorContainerMenu
public abstract class AbstractAutocraftingMonitorContainerMenu
extends AbstractBaseContainerMenu
implements TaskStatusListener, AutocraftingMonitorWatcher
-
Field Summary
Fields inherited from class com.refinedmods.refinedstorage.common.support.AbstractBaseContainerMenu
disabledSlot, transferManager
Fields 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
ModifierConstructorDescriptionprotected
AbstractAutocraftingMonitorContainerMenu
(net.minecraft.world.inventory.MenuType<?> menuType, int syncId, net.minecraft.world.entity.player.Inventory playerInventory, AutocraftingMonitorData data) -
Method Summary
Modifier and TypeMethodDescriptionvoid
activeChanged
(boolean newActive) void
void
void
cancelTask
(TaskId taskId) void
removed
(net.minecraft.world.entity.player.Player removedPlayer) void
taskAdded
(TaskStatus status) void
taskRemoved
(TaskId id) void
taskStatusChanged
(TaskStatus status) Methods inherited from class com.refinedmods.refinedstorage.common.support.AbstractBaseContainerMenu
addPlayerInventory, addPlayerInventory, canTakeItemForPickAll, clicked, getProperty, handleFilterSlotChange, hasProperty, quickMoveStack, receivePropertyChangeFromClient, registerProperty, resetSlots, stillValid
Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastFullState, canDragTo, canItemQuickReplace, checkContainerDataCount, checkContainerSize, clearContainer, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftPlaceCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState
-
Constructor Details
-
AbstractAutocraftingMonitorContainerMenu
protected AbstractAutocraftingMonitorContainerMenu(net.minecraft.world.inventory.MenuType<?> menuType, int syncId, net.minecraft.world.entity.player.Inventory playerInventory, AutocraftingMonitorData data)
-
-
Method Details
-
removed
public void removed(net.minecraft.world.entity.player.Player removedPlayer) - Overrides:
removed
in classnet.minecraft.world.inventory.AbstractContainerMenu
-
broadcastChanges
public void broadcastChanges()- Overrides:
broadcastChanges
in classnet.minecraft.world.inventory.AbstractContainerMenu
-
taskStatusChanged
- Specified by:
taskStatusChanged
in interfaceTaskStatusListener
-
taskRemoved
- Specified by:
taskRemoved
in interfaceTaskStatusListener
-
taskAdded
- Specified by:
taskAdded
in interfaceTaskStatusListener
-
cancelTask
-
cancelAllTasks
public void cancelAllTasks() -
activeChanged
public void activeChanged(boolean newActive) - Specified by:
activeChanged
in interfaceAutocraftingMonitorWatcher
-