BlockState, Metadatable, PersistentDataHolderBanner, Barrel, Beacon, Bed, Beehive, Bell, BlastFurnace, BrewingStand, Campfire, Chest, CommandBlock, Comparator, Conduit, Container, CreatureSpawner, DaylightDetector, Dispenser, Dropper, EnchantingTable, EnderChest, EndGateway, EntityBlockStorage<T>, Furnace, Hopper, Jigsaw, Jukebox, Lectern, ShulkerBox, Sign, Skull, Smoker, Structurepublic interface TileState extends BlockState, PersistentDataHolder
BlockState.update() needs to
 be called to store the data.| Modifier and Type | Method | Description | 
|---|---|---|
| @NotNull PersistentDataContainer | getPersistentDataContainer() | Returns a custom tag container capable of storing tags on the object. | 
getBlock, getBlockData, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getWorld, getX, getY, getZ, isPlaced, setBlockData, setData, setRawData, setType, update, update, updategetMetadata, hasMetadata, removeMetadata, setMetadata@NotNull @NotNull PersistentDataContainer getPersistentDataContainer()
PersistentDataHolder is impossible.
 
 This PersistentDataHolder is only linked to the snapshot instance
 stored by the BlockState.
 When storing changes on the PersistentDataHolder, the updated
 content will only be applied to the actual tile entity after one of the
 BlockState.update() methods is called.
getPersistentDataContainer in interface PersistentDataHolderCopyright © 2020. All rights reserved.