Class VaultSharedData
java.lang.Object
net.minecraft.world.level.block.entity.vault.VaultSharedData
-
Field Summary
Modifier and TypeFieldDescription(package private) static com.mojang.serialization.Codec
<VaultSharedData> private double
private ItemStack
(package private) boolean
(package private) static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) double
(package private) boolean
boolean
private void
(package private) void
set
(VaultSharedData p_324621_) void
setDisplayItem
(ItemStack p_324243_) (package private) void
updateConnectedPlayersWithinRange
(ServerLevel p_324193_, BlockPos p_324358_, VaultServerData p_324348_, VaultConfig p_324058_, double p_324450_)
-
Field Details
-
TAG_NAME
- See Also:
-
CODEC
-
displayItem
-
connectedPlayers
-
connectedParticlesRange
private double connectedParticlesRange -
isDirty
boolean isDirty
-
-
Constructor Details
-
VaultSharedData
-
VaultSharedData
VaultSharedData()
-
-
Method Details
-
getDisplayItem
-
hasDisplayItem
public boolean hasDisplayItem() -
setDisplayItem
-
hasConnectedPlayers
boolean hasConnectedPlayers() -
getConnectedPlayers
-
connectedParticlesRange
double connectedParticlesRange() -
updateConnectedPlayersWithinRange
void updateConnectedPlayersWithinRange(ServerLevel p_324193_, BlockPos p_324358_, VaultServerData p_324348_, VaultConfig p_324058_, double p_324450_) -
markDirty
private void markDirty()
-