<dd><code><ahref="BlockState.html"title="interface in org.bukkit.block">BlockState</a></code>, <code><ahref="../metadata/Metadatable.html"title="interface in org.bukkit.metadata">Metadatable</a></code>, <code><ahref="../persistence/PersistentDataHolder.html"title="interface in org.bukkit.persistence">PersistentDataHolder</a></code></dd>
</dl>
<dlclass="notes">
<dt>All Known Subinterfaces:</dt>
<dd><code><ahref="Banner.html"title="interface in org.bukkit.block">Banner</a></code>, <code><ahref="Barrel.html"title="interface in org.bukkit.block">Barrel</a></code>, <code><ahref="Beacon.html"title="interface in org.bukkit.block">Beacon</a></code>, <code><ahref="Bed.html"title="interface in org.bukkit.block">Bed</a></code>, <code><ahref="Beehive.html"title="interface in org.bukkit.block">Beehive</a></code>, <code><ahref="Bell.html"title="interface in org.bukkit.block">Bell</a></code>, <code><ahref="BlastFurnace.html"title="interface in org.bukkit.block">BlastFurnace</a></code>, <code><ahref="BrewingStand.html"title="interface in org.bukkit.block">BrewingStand</a></code>, <code><ahref="Campfire.html"title="interface in org.bukkit.block">Campfire</a></code>, <code><ahref="Chest.html"title="interface in org.bukkit.block">Chest</a></code>, <code><ahref="CommandBlock.html"title="interface in org.bukkit.block">CommandBlock</a></code>, <code><ahref="Comparator.html"title="interface in org.bukkit.block">Comparator</a></code>, <code><ahref="Conduit.html"title="interface in org.bukkit.block">Conduit</a></code>, <code><ahref="Container.html"title="interface in org.bukkit.block">Container</a></code>, <code><ahref="CreatureSpawner.html"title="interface in org.bukkit.block">CreatureSpawner</a></code>, <code><ahref="DaylightDetector.html"title="interface in org.bukkit.block">DaylightDetector</a></code>, <code><ahref="Dispenser.html"title="interface in org.bukkit.block">Dispenser</a></code>, <code><ahref="Dropper.html"title="interface in org.bukkit.block">Dropper</a></code>, <code><ahref="EnchantingTable.html"title="interface in org.bukkit.block">EnchantingTable</a></code>, <code><ahref="EnderChest.html"title="interface in org.bukkit.block">EnderChest</a></code>, <code><ahref="EndGateway.html"title="interface in org.bukkit.block">EndGateway</a></code>, <code><ahref="EntityBlockStorage.html"title="interface in org.bukkit.block">EntityBlockStorage</a><T></code>, <code><ahref="Furnace.html"title="interface in org.bukkit.block">Furnace</a></code>, <code><ahref="Hopper.html"title="interface in org.bukkit.block">Hopper</a></code>, <code><ahref="Jigsaw.html"title="interface in org.bukkit.block">Jigsaw</a></code>, <code><ahref="Jukebox.html"title="interface in org.bukkit.block">Jukebox</a></code>, <code><ahref="Lectern.html"title="interface in org.bukkit.block">Lectern</a></code>, <code><ahref="SculkCatalyst.html"title="interface in org.bukkit.block">SculkCatalyst</a></code>, <code><ahref="SculkSensor.html"title="interface in org.bukkit.block">SculkSensor</a></code>, <code><ahref="SculkShrieker.html"title="interface in org.bukkit.block">SculkShrieker</a></code>, <code><ahref="ShulkerBox.html"title="interface in org.bukkit.block">ShulkerBox</a></code>, <code><ahref="Sign.html"title="interface in org.bukkit.block">Sign</a></code>, <code><ahref="Skull.html"title="interface in org.bukkit.block">Skull</a></code>, <code><ahref="Smoker.html"title="interface in org.bukkit.block">Smoker</a></code>, <code><ahref="Structure.html"title="interface in org.bukkit.block">Structure</a></code></dd>
extends <ahref="BlockState.html"title="interface in org.bukkit.block">BlockState</a>, <ahref="../persistence/PersistentDataHolder.html"title="interface in org.bukkit.persistence">PersistentDataHolder</a></span></div>
<divclass="block">Represents a block state that also hosts a tile entity at the given location.
This interface alone is merely a marker that does not provide any data.
Data about the tile entities is provided by the respective interface for each
tile entity type.
After modifying the data provided by a TileState, <ahref="BlockState.html#update()"><code>BlockState.update()</code></a> needs to
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../persistence/PersistentDataContainer.html"title="interface in org.bukkit.persistence">PersistentDataContainer</a></code></div>
<divclass="block">Checks if this TileState is a snapshot or a live
representation of the underlying tile entity.</div>
</div>
</div>
</div>
</div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-org.bukkit.block.BlockState">Methods inherited from interface org.bukkit.block.<ahref="BlockState.html"title="interface in org.bukkit.block">BlockState</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.metadata.Metadatable">Methods inherited from interface org.bukkit.metadata.<ahref="../metadata/Metadatable.html"title="interface in org.bukkit.metadata">Metadatable</a></h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../persistence/PersistentDataContainer.html"title="interface in org.bukkit.persistence">PersistentDataContainer</a></span> <spanclass="element-name">getPersistentDataContainer</span>()</div>
<divclass="block">Returns a custom tag container capable of storing 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
<ahref="../persistence/PersistentDataHolder.html"title="interface in org.bukkit.persistence"><code>PersistentDataHolder</code></a> is impossible.
<p>
This <ahref="../persistence/PersistentDataHolder.html"title="interface in org.bukkit.persistence"><code>PersistentDataHolder</code></a> is only linked to the snapshot instance
stored by the <ahref="BlockState.html"title="interface in org.bukkit.block"><code>BlockState</code></a>.
When storing changes on the <ahref="../persistence/PersistentDataHolder.html"title="interface in org.bukkit.persistence"><code>PersistentDataHolder</code></a>, the updated
content will only be applied to the actual tile entity after one of the
<ahref="BlockState.html#update()"><code>BlockState.update()</code></a> methods is called.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../persistence/PersistentDataHolder.html#getPersistentDataContainer()">getPersistentDataContainer</a></code> in interface <code><ahref="../persistence/PersistentDataHolder.html"title="interface in org.bukkit.persistence">PersistentDataHolder</a></code></dd>