Class BeaconContainer
java.lang.Object
net.minecraft.inventory.container.Container
net.minecraft.inventory.container.BeaconContainer
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final IWorldPosCallable
private final IInventory
private final IIntArray
private final BeaconContainer.BeaconSlot
Fields inherited from class net.minecraft.inventory.container.Container
containerId, slots
-
Constructor Summary
ConstructorDescriptionBeaconContainer
(int p_i50099_1_, IInventory p_i50099_2_) BeaconContainer
(int p_i50100_1_, IInventory p_i50100_2_, IIntArray p_i50100_3_, IWorldPosCallable p_i50100_4_) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
quickMoveStack
(PlayerEntity p_82846_1_, int p_82846_2_) void
removed
(PlayerEntity p_75134_1_) void
setData
(int p_75137_1_, int p_75137_2_) boolean
stillValid
(PlayerEntity p_75145_1_) void
updateEffects
(int p_216966_1_, int p_216966_2_) Methods inherited from class net.minecraft.inventory.container.Container
addDataSlot, addDataSlots, addSlot, addSlotListener, backup, broadcastChanges, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, consideredTheSameItem, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getType, isSynched, isValidQuickcraftType, moveItemStackTo, removeSlotListener, resetQuickCraft, setAll, setItem, setSynched, slotsChanged, stillValid
-
Field Details
-
beacon
-
paymentSlot
-
access
-
beaconData
-
-
Constructor Details
-
BeaconContainer
-
BeaconContainer
public BeaconContainer(int p_i50100_1_, IInventory p_i50100_2_, IIntArray p_i50100_3_, IWorldPosCallable p_i50100_4_)
-
-
Method Details
-
removed
-
stillValid
- Specified by:
stillValid
in classContainer
-
setData
public void setData(int p_75137_1_, int p_75137_2_) -
quickMoveStack
- Overrides:
quickMoveStack
in classContainer
-
getLevels
public int getLevels() -
getPrimaryEffect
-
getSecondaryEffect
-
updateEffects
public void updateEffects(int p_216966_1_, int p_216966_2_) -
hasPayment
public boolean hasPayment()
-