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_334535_) void
setDisplayItem
(ItemStack p_328271_) (package private) void
updateConnectedPlayersWithinRange
(ServerLevel p_335653_, BlockPos p_328626_, VaultServerData p_333530_, VaultConfig p_327683_, double p_332168_)
-
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_335653_, BlockPos p_328626_, VaultServerData p_333530_, VaultConfig p_327683_, double p_332168_) -
markDirty
private void markDirty()
-