Package net.minecraft.world.inventory
Class BeaconMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.BeaconMenu
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate ContainerLevelAccess
private Container
private ContainerData
private static int
private static int
private static int
private static int
private BeaconMenu.PaymentSlot
private static int
private static int
private static int
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
ConstructorDescriptionBeaconMenu(int p_39036_, Container p_39037_)
BeaconMenu(int p_39039_, Container p_39040_, ContainerData p_39041_, ContainerLevelAccess p_39042_)
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
quickMoveStack(Player p_39051_, int p_39052_)
void
void
setData(int p_39044_, int p_39045_)
boolean
stillValid(Player p_39047_)
void
updateEffects(int p_39054_, int p_39055_)
Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, moveItemStackTo, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState
-
Field Details
-
PAYMENT_SLOT
private static final int PAYMENT_SLOT- See Also:
- Constant Field Values
-
SLOT_COUNT
private static final int SLOT_COUNT- See Also:
- Constant Field Values
-
DATA_COUNT
private static final int DATA_COUNT- See Also:
- Constant Field Values
-
INV_SLOT_START
private static final int INV_SLOT_START- See Also:
- Constant Field Values
-
INV_SLOT_END
private static final int INV_SLOT_END- See Also:
- Constant Field Values
-
USE_ROW_SLOT_START
private static final int USE_ROW_SLOT_START- See Also:
- Constant Field Values
-
USE_ROW_SLOT_END
private static final int USE_ROW_SLOT_END- See Also:
- Constant Field Values
-
beacon
-
paymentSlot
-
access
-
beaconData
-
-
Constructor Details
-
BeaconMenu
-
BeaconMenu
public BeaconMenu(int p_39039_, Container p_39040_, ContainerData p_39041_, ContainerLevelAccess p_39042_)
-
-
Method Details
-
removed
- Overrides:
removed
in classAbstractContainerMenu
-
stillValid
- Specified by:
stillValid
in classAbstractContainerMenu
-
setData
public void setData(int p_39044_, int p_39045_)- Overrides:
setData
in classAbstractContainerMenu
-
quickMoveStack
- Overrides:
quickMoveStack
in classAbstractContainerMenu
-
getLevels
public int getLevels() -
getPrimaryEffect
-
getSecondaryEffect
-
updateEffects
public void updateEffects(int p_39054_, int p_39055_) -
hasPayment
public boolean hasPayment()
-