Class VaultSharedData

java.lang.Object
net.minecraft.world.level.block.entity.vault.VaultSharedData

public class VaultSharedData extends Object
  • Field Details

    • TAG_NAME

      static final String TAG_NAME
      See Also:
    • CODEC

      static com.mojang.serialization.Codec<VaultSharedData> CODEC
    • displayItem

      private ItemStack displayItem
    • connectedPlayers

      private Set<UUID> connectedPlayers
    • connectedParticlesRange

      private double connectedParticlesRange
    • isDirty

      boolean isDirty
  • Constructor Details

    • VaultSharedData

      VaultSharedData(ItemStack p_324245_, Set<UUID> p_324007_, double p_324069_)
    • VaultSharedData

      VaultSharedData()
  • Method Details

    • getDisplayItem

      public ItemStack getDisplayItem()
    • hasDisplayItem

      public boolean hasDisplayItem()
    • setDisplayItem

      public void setDisplayItem(ItemStack p_324243_)
    • hasConnectedPlayers

      boolean hasConnectedPlayers()
    • getConnectedPlayers

      Set<UUID> 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()
    • set

      void set(VaultSharedData p_324621_)