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_336127_, Set<UUID> p_328242_, double p_334724_)
    • VaultSharedData

      VaultSharedData()
  • Method Details

    • getDisplayItem

      public ItemStack getDisplayItem()
    • hasDisplayItem

      public boolean hasDisplayItem()
    • setDisplayItem

      public void setDisplayItem(ItemStack p_328271_)
    • hasConnectedPlayers

      boolean hasConnectedPlayers()
    • getConnectedPlayers

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

      void set(VaultSharedData p_334535_)