public class LecternMock extends ContainerMock implements org.bukkit.block.Lectern
| Modifier | Constructor and Description |
|---|---|
protected |
LecternMock(@NotNull org.bukkit.block.Block block) |
protected |
LecternMock(@NotNull LecternMock state) |
|
LecternMock(@NotNull org.bukkit.Material material) |
| Modifier and Type | Method and Description |
|---|---|
protected InventoryMock |
createInventory() |
int |
getPage() |
org.bukkit.block.BlockState |
getSnapshot()
This returns a copy of this
BlockStateMock. |
void |
setPage(int page) |
getCustomName, getInventory, getLock, getSnapshotInventory, isLocked, setCustomName, setLockgetPersistentDataContainergetBlock, 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, waitgetBlock, getBlockData, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getWorld, getX, getY, getZ, isPlaced, setBlockData, setData, setRawData, setType, update, update, updatepublic LecternMock(@NotNull
@NotNull org.bukkit.Material material)
protected LecternMock(@NotNull
@NotNull org.bukkit.block.Block block)
protected LecternMock(@NotNull
@NotNull LecternMock state)
protected InventoryMock createInventory()
createInventory in class ContainerMockpublic org.bukkit.block.BlockState getSnapshot()
BlockStateMockBlockStateMock. Inheritents of this class should override this method!getSnapshot in class ContainerMockBlockStateMock.public int getPage()
getPage in interface org.bukkit.block.Lecternpublic void setPage(int page)
setPage in interface org.bukkit.block.Lectern