Package io.papermc.paper.persistence
Interface PersistentDataViewHolder
- All Known Subinterfaces:
AbstractArrow
,AbstractHorse
,AbstractSkeleton
,AbstractVillager
,AbstractWindCharge
,AcaciaBoat
,AcaciaChestBoat
,Ageable
,Allay
,Ambient
,Animals
,AreaEffectCloud
,Armadillo
,ArmorMeta
,ArmorStand
,ArmorStandMeta
,Arrow
,Axolotl
,AxolotlBucketMeta
,BambooChestRaft
,BambooRaft
,Banner
,BannerMeta
,Barrel
,Bat
,Beacon
,Bed
,Bee
,Beehive
,Bell
,BirchBoat
,BirchChestBoat
,BlastFurnace
,Blaze
,BlockDataMeta
,BlockDisplay
,BlockStateMeta
,Boat
,Bogged
,BookMeta
,Boss
,Breedable
,Breeze
,BreezeWindCharge
,BrewingStand
,BrushableBlock
,Bucketable
,BundleMeta
,CalibratedSculkSensor
,Camel
,Campfire
,Cat
,CaveSpider
,CherryBoat
,CherryChestBoat
,Chest
,ChestBoat
,ChestedHorse
,Chicken
,ChiseledBookshelf
,Chunk
,Cod
,CollarColorable
,ColorableArmorMeta
,CommandBlock
,CommandMinecart
,Comparator
,CompassMeta
,ComplexEntityPart
,ComplexLivingEntity
,Conduit
,Container
,Cow
,Crafter
,Creaking
,CreakingHeart
,Creature
,CreatureSpawner
,Creeper
,CrossbowMeta
,Damageable
,Damageable
,DarkOakBoat
,DarkOakChestBoat
,DaylightDetector
,DecoratedPot
,Dispenser
,Display
,Dolphin
,Donkey
,DragonFireball
,Dropper
,Drowned
,Egg
,ElderGuardian
,EnchantingTable
,EnchantmentStorageMeta
,EnderChest
,EnderCrystal
,EnderDragon
,EnderDragonPart
,Enderman
,Endermite
,EnderPearl
,EnderSignal
,EndGateway
,Enemy
,Entity
,EntityBlockStorage<T>
,Evoker
,EvokerFangs
,ExperienceOrb
,Explosive
,ExplosiveMinecart
,FallingBlock
,Fireball
,Firework
,FireworkEffectMeta
,FireworkMeta
,Fish
,FishHook
,Flying
,Fox
,Frog
,Furnace
,GeneratedStructure
,Ghast
,Giant
,GlowItemFrame
,GlowSquid
,Goat
,Golem
,Guardian
,Hanging
,HangingSign
,Hoglin
,Hopper
,HopperMinecart
,Horse
,HumanEntity
,Husk
,Illager
,Illusioner
,Interaction
,IronGolem
,Item
,ItemDisplay
,ItemFrame
,ItemMeta
,Jigsaw
,Jukebox
,JungleBoat
,JungleChestBoat
,KnowledgeBookMeta
,LargeFireball
,Leashable
,LeashHitch
,LeatherArmorMeta
,Lectern
,LightningStrike
,LingeringPotion
,LivingEntity
,Llama
,LlamaSpit
,LockableTileState
,MagmaCube
,MangroveBoat
,MangroveChestBoat
,MapMeta
,Marker
,Minecart
,Mob
,Monster
,MovingPiston
,Mule
,MushroomCow
,MusicInstrumentMeta
,NPC
,OakBoat
,OakChestBoat
,Ocelot
,OfflinePlayer
,OminousBottleMeta
,OminousItemSpawner
,Painting
,PaleOakBoat
,PaleOakChestBoat
,Panda
,Parrot
,PersistentDataHolder
,Phantom
,Pig
,Piglin
,PiglinAbstract
,PiglinBrute
,PigZombie
,Pillager
,Player
,PolarBear
,PotionMeta
,PoweredMinecart
,Projectile
,PufferFish
,Rabbit
,Raid
,Raider
,RangedEntity
,Ravager
,Repairable
,RideableMinecart
,Salmon
,SchoolableFish
,SculkCatalyst
,SculkSensor
,SculkShrieker
,Shearable
,Sheep
,ShieldMeta
,Shulker
,ShulkerBox
,ShulkerBullet
,Sign
,Silverfish
,SizedFireball
,Skeleton
,SkeletonHorse
,Skull
,SkullMeta
,Slime
,SmallFireball
,Smoker
,Sniffer
,Snowball
,Snowman
,SpawnEggMeta
,SpawnerMinecart
,SpectralArrow
,Spellcaster
,Spider
,SplashPotion
,SpruceBoat
,SpruceChestBoat
,Squid
,Steerable
,StorageMinecart
,StoredEntity<T>
,Stray
,Strider
,Structure
,Structure
,SuspiciousSand
,SuspiciousStewMeta
,Tadpole
,Tameable
,TextDisplay
,ThrowableProjectile
,ThrownExpBottle
,ThrownPotion
,TileState
,TileStateInventoryHolder
,TippedArrow
,TNTPrimed
,TraderLlama
,TrialSpawner
,Trident
,TropicalFish
,TropicalFishBucketMeta
,Turtle
,Vault
,Vehicle
,Vex
,Villager
,Vindicator
,WanderingTrader
,Warden
,WaterMob
,WindCharge
,Witch
,Wither
,WitherSkeleton
,WitherSkull
,Wolf
,World
,WritableBookMeta
,Zoglin
,Zombie
,ZombieHorse
,ZombieVillager
- All Known Implementing Classes:
ItemStack
The
PersistentDataViewHolder
interface defines an object that can view
custom persistent data on it.-
Method Summary
Modifier and TypeMethodDescriptionReturns a custom tag container view capable of viewing tags on the object.
-
Method Details
-
getPersistentDataContainer
PersistentDataContainerView getPersistentDataContainer()Returns a custom tag container view capable of viewing tags on the object.Note that the tags stored on this container are all stored under their own custom namespace therefore modifying default tags using this
PersistentDataViewHolder
is impossible.- Returns:
- the persistent data container view
-