Package net.minecraft.world.inventory
Class DataSlot
java.lang.Object
net.minecraft.world.inventory.DataSlot
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static DataSlot
forContainer
(ContainerData p_39404_, int p_39405_) abstract int
get()
abstract void
set
(int p_39402_) static DataSlot
shared
(int[] p_39407_, int p_39408_) static DataSlot
-
Field Details
-
prevValue
private int prevValue
-
-
Constructor Details
-
DataSlot
public DataSlot()
-
-
Method Details
-
forContainer
-
standalone
-
get
public abstract int get() -
set
public abstract void set(int p_39402_) -
checkAndClearUpdateFlag
public boolean checkAndClearUpdateFlag()
-