Class NullInterface3Menu
-
- All Implemented Interfaces:
public final class NullInterface3Menu extends AbstractContainerMenu
-
-
Field Summary
Fields Modifier and Type Field Description private final Level
world
private final Player
entity
private IItemHandler
internal
private Boolean
bound
private Supplier<Boolean>
boundItemMatcher
private Entity
boundEntity
private BlockEntity
boundBlockEntity
private final NonNullList<ItemStack>
lastSlots
public final NonNullList<Slot>
slots
private final List<DataSlot>
dataSlots
private ItemStack
carried
private final NonNullList<ItemStack>
remoteSlots
private final IntList
remoteDataSlots
private final ItemStack
remoteCarried
private final Integer
stateId
private final MenuType<?>
menuType
public final Integer
containerId
private final Integer
quickcraftType
private final Integer
quickcraftStatus
private final Set<Slot>
quickcraftSlots
private final List<ContainerListener>
containerListeners
private final ContainerSynchronizer
synchronizer
private final Boolean
suppressRemoteUpdates
-
Constructor Summary
Constructors Constructor Description NullInterface3Menu(Integer id, Inventory inv, FriendlyByteBuf extraData)
-
Method Summary
Modifier and Type Method Description final Level
getWorld()
final Player
getEntity()
final IItemHandler
getInternal()
final Unit
setInternal(IItemHandler internal)
final Boolean
getBound()
final Unit
setBound(Boolean bound)
final Supplier<Boolean>
getBoundItemMatcher()
final Unit
setBoundItemMatcher(Supplier<Boolean> boundItemMatcher)
final Entity
getBoundEntity()
final Unit
setBoundEntity(Entity boundEntity)
final BlockEntity
getBoundBlockEntity()
final Unit
setBoundBlockEntity(BlockEntity boundBlockEntity)
Boolean
stillValid(Player player)
ItemStack
quickMoveStack(Player playerIn, Integer index)
Boolean
moveItemStackTo(ItemStack stack, Integer startIndex, Integer endIndex, Boolean reverseDirection)
Unit
removed(Player playerIn)
-
Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canDragTo, canTakeItemForPickAll, clearContainer, clickMenuButton, clicked, createCarriedSlotAccess, doClick, findSlot, getCarried, getItems, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidSlotIndex, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, suppressRemoteUpdates, synchronizeCarriedToRemote, synchronizeDataSlotToRemote, synchronizeSlotToRemote, transferState, triggerSlotListeners, tryItemClickBehaviourOverride, updateDataSlotListeners
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
NullInterface3Menu
NullInterface3Menu(Integer id, Inventory inv, FriendlyByteBuf extraData)
-
-
Method Detail
-
getWorld
final Level getWorld()
-
getEntity
final Player getEntity()
-
getInternal
final IItemHandler getInternal()
-
setInternal
final Unit setInternal(IItemHandler internal)
-
getBoundItemMatcher
final Supplier<Boolean> getBoundItemMatcher()
-
setBoundItemMatcher
final Unit setBoundItemMatcher(Supplier<Boolean> boundItemMatcher)
-
getBoundEntity
final Entity getBoundEntity()
-
setBoundEntity
final Unit setBoundEntity(Entity boundEntity)
-
getBoundBlockEntity
final BlockEntity getBoundBlockEntity()
-
setBoundBlockEntity
final Unit setBoundBlockEntity(BlockEntity boundBlockEntity)
-
stillValid
Boolean stillValid(Player player)
-
quickMoveStack
ItemStack quickMoveStack(Player playerIn, Integer index)
-
moveItemStackTo
Boolean moveItemStackTo(ItemStack stack, Integer startIndex, Integer endIndex, Boolean reverseDirection)
-
-
-
-