public abstract class TileStateMock extends BlockStateMock implements org.bukkit.block.TileState
BlockStateMock represents a TileState which is capable of storing persistent data using a
PersistentDataContainerMock.| Modifier | Constructor and Description |
|---|---|
protected |
TileStateMock(@NotNull org.bukkit.block.Block block) |
|
TileStateMock(@NotNull org.bukkit.Material material) |
protected |
TileStateMock(@NotNull TileStateMock state) |
| Modifier and Type | Method and Description |
|---|---|
org.bukkit.persistence.PersistentDataContainer |
getPersistentDataContainer() |
abstract org.bukkit.block.BlockState |
getSnapshot()
This returns a copy of this
BlockStateMock. |
getBlock, getBlockData, getChunk, getData, getLightLevel, getLocation, getLocation, getMetadata, getRawData, getType, getWorld, getX, getY, getZ, hasMetadata, isPlaced, mockState, removeMetadata, setBlockData, setData, setMetadata, setRawData, setType, update, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic TileStateMock(@NotNull
@NotNull org.bukkit.Material material)
protected TileStateMock(@NotNull
@NotNull org.bukkit.block.Block block)
protected TileStateMock(@NotNull
@NotNull TileStateMock state)
public org.bukkit.persistence.PersistentDataContainer getPersistentDataContainer()
getPersistentDataContainer in interface org.bukkit.block.TileStategetPersistentDataContainer in interface org.bukkit.persistence.PersistentDataHolderpublic abstract org.bukkit.block.BlockState getSnapshot()
BlockStateMockBlockStateMock. Inheritents of this class should override this method!getSnapshot in class BlockStateMockBlockStateMock.