<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="ChiseledBookshelf.html"title="interface in org.bukkit.block">ChiseledBookshelf</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="HangingSign.html"title="interface in org.bukkit.block">HangingSign</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="../../../io/papermc/paper/block/MovingPiston.html"title="interface in io.papermc.paper.block">MovingPiston</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>, <code><ahref="TileState.html"title="interface in org.bukkit.block">TileState</a></code></dd>
<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="Block.html"title="interface in org.bukkit.block">Block</a></code></div>
<divclass="block">Gets the block represented by this block state.</div>
</div>
<divclass="col-first odd-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="data/BlockData.html"title="interface in org.bukkit.block.data">BlockData</a></code></div>
<divclass="block">Gets the data for this block state.</div>
</div>
<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="../Chunk.html"title="interface in org.bukkit">Chunk</a></code></div>
<divclass="block">Gets the chunk which contains the block represented by this block state.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><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="../material/MaterialData.html"title="class in org.bukkit.material">MaterialData</a></code></div>
<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/Unmodifiable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Unmodifiable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html"title="class or interface in java.util"class="external-link">Collection</a><<ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a>></code></div>
<divclass="col-first odd-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/Unmodifiable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Unmodifiable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html"title="class or interface in java.util"class="external-link">Collection</a><<ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a>></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#getDrops(org.bukkit.inventory.ItemStack)"class="member-name-link">getDrops</a><wbr>(<ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> tool)</code></div>
<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/Unmodifiable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Unmodifiable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html"title="class or interface in java.util"class="external-link">Collection</a><<ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a>></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#getDrops(org.bukkit.inventory.ItemStack,org.bukkit.entity.Entity)"class="member-name-link">getDrops</a><wbr>(<ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> tool,
<ahref="../entity/Entity.html"title="interface in org.bukkit.entity">Entity</a> entity)</code></div>
<divclass="block">Gets the current light level of the block represented by this block state.</div>
</div>
<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="../Location.html"title="class in org.bukkit">Location</a></code></div>
<divclass="block">Gets the location of this block state.</div>
</div>
<divclass="col-first odd-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/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#getLocation(org.bukkit.Location)"class="member-name-link">getLocation</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> loc)</code></div>
<divclass="col-first odd-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="../Material.html"title="enum class in org.bukkit">Material</a></code></div>
<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="../World.html"title="interface in org.bukkit">World</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setBlockData(org.bukkit.block.data.BlockData)"class="member-name-link">setBlockData</a><wbr>(<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="data/BlockData.html"title="interface in org.bukkit.block.data">BlockData</a> data)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#setData(org.bukkit.material.MaterialData)"class="member-name-link">setData</a><wbr>(<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="../material/MaterialData.html"title="class in org.bukkit.material">MaterialData</a> data)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setType(org.bukkit.Material)"class="member-name-link">setType</a><wbr>(<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="../Material.html"title="enum class in org.bukkit">Material</a> type)</code></div>
<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="Block.html"title="interface in org.bukkit.block">Block</a></span> <spanclass="element-name">getBlock</span>()</div>
<divclass="block">Gets the block represented by this block state.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the block represented by this block state</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html"title="class or interface in java.lang"class="external-link">IllegalStateException</a></code> - if this block state is not placed</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getData()">
<h3>getData</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>
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</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="../material/MaterialData.html"title="class in org.bukkit.material">MaterialData</a></span> <spanclass="element-name">getData</span>()</div>
<divclass="block">Gets the metadata for this block state.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>block specific metadata</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getBlockData()">
<h3>getBlockData</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="data/BlockData.html"title="interface in org.bukkit.block.data">BlockData</a></span> <spanclass="element-name">getBlockData</span>()</div>
<divclass="block">Gets the data for this block state.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>block specific data</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getType()">
<h3>getType</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="../Material.html"title="enum class in org.bukkit">Material</a></span> <spanclass="element-name">getType</span>()</div>
<divclass="block">Gets the type of this block state.</div>
<divclass="block">Gets the current light level of the block represented by this block state.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the light level between 0-15</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html"title="class or interface in java.lang"class="external-link">IllegalStateException</a></code> - if this block state is not placed</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getWorld()">
<h3>getWorld</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="../World.html"title="interface in org.bukkit">World</a></span> <spanclass="element-name">getWorld</span>()</div>
<divclass="block">Gets the world which contains the block represented by this block state.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the world containing the block represented by this block state</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html"title="class or interface in java.lang"class="external-link">IllegalStateException</a></code> - if this block state is not placed</dd>
<divclass="block">Gets the z-coordinate of this block state.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>z-coordinate</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getLocation()">
<h3>getLocation</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="../Location.html"title="class in org.bukkit">Location</a></span> <spanclass="element-name">getLocation</span>()</div>
<divclass="block">Gets the location of this block state.
<p>
If this block state is not placed the location's world will be null!</div>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Contract.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Contract</a>("null -> null; !null -> !null")
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a></span> <spanclass="element-name">getLocation</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> loc)</span></div>
<divclass="block">Stores the location of this block state in the provided Location object.
<p>
If the provided Location is null this method does nothing and returns
null.
<p>
If this block state is not placed the location's world will be null!</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>loc</code> - the location to copy into</dd>
<dt>Returns:</dt>
<dd>The Location object provided or null</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getChunk()">
<h3>getChunk</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="../Chunk.html"title="interface in org.bukkit">Chunk</a></span> <spanclass="element-name">getChunk</span>()</div>
<divclass="block">Gets the chunk which contains the block represented by this block state.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the containing Chunk</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html"title="class or interface in java.lang"class="external-link">IllegalStateException</a></code> - if this block state is not placed</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>
</span><spanclass="return-type">void</span> <spanclass="element-name">setData</span><wbr><spanclass="parameters">(<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="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="../material/MaterialData.html"title="class in org.bukkit.material">MaterialData</a> data)</span></div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setBlockData</span><wbr><spanclass="parameters">(<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="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="data/BlockData.html"title="interface in org.bukkit.block.data">BlockData</a> data)</span></div>
<divclass="block">Sets the data for this block state.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>data</code> - New block specific data</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setType</span><wbr><spanclass="parameters">(<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="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="../Material.html"title="enum class in org.bukkit">Material</a> type)</span></div>
<divclass="block">Sets the type of this block state.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - Material to change this block state to</dd>
<divclass="block">Attempts to update the block represented by this state, setting it to
the new values as defined by this state.
<p>
If this state is not placed, this will have no effect and return true.
<p>
Unless force is true, this will not modify the state of a block if it
is no longer the same type as it was when this state was taken. It will
return false in this eventuality.
<p>
If force is true, it will set the type of the block to match the new
state, set the state data and then return true.
<p>
If applyPhysics is true, it will trigger a physics update on
surrounding blocks which could cause them to update or disappear.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>force</code> - true to forcefully set the state</dd>
<dd><code>applyPhysics</code> - false to cancel updating physics on surrounding
blocks</dd>
<dt>Returns:</dt>
<dd>true if the update was successful, otherwise false</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getRawData()">
<h3>getRawData</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>
<divclass="member-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>
<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/Unmodifiable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Unmodifiable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html"title="class or interface in java.util"class="external-link">Collection</a><<ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a>></span> <spanclass="element-name">getDrops</span>()</div>
<divclass="block">Returns an immutable list of items which would drop by destroying this block state.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>an immutable list of dropped items for the block state</dd>
<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/Unmodifiable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Unmodifiable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html"title="class or interface in java.util"class="external-link">Collection</a><<ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a>></span> <spanclass="element-name">getDrops</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> tool)</span></div>
<divclass="block">Returns an immutable list of items which would drop by destroying this block state
with a specific tool</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>tool</code> - The tool or item in hand used for digging</dd>
<dt>Returns:</dt>
<dd>an immutable list of dropped items for the block state</dd>
<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/Unmodifiable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Unmodifiable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html"title="class or interface in java.util"class="external-link">Collection</a><<ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a>></span> <spanclass="element-name">getDrops</span><wbr><spanclass="parameters">(<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="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a> tool,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="../entity/Entity.html"title="interface in org.bukkit.entity">Entity</a> entity)</span></div>
<divclass="block">Returns an immutable list of items which would drop by the entity destroying this
block state with a specific tool</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>tool</code> - The tool or item in hand used for digging</dd>
<dd><code>entity</code> - the entity destroying the block</dd>
<dt>Returns:</dt>
<dd>an immutable list of dropped items for the block state</dd>