Package org.geysermc.geyser.inventory
Class LecternContainer
java.lang.Object
org.geysermc.geyser.inventory.Inventory
org.geysermc.geyser.inventory.Container
org.geysermc.geyser.inventory.LecternContainer
-
Field Summary
Fields inherited from class org.geysermc.geyser.inventory.Inventory
containerType, holderId, holderPosition, id, items, size, title
-
Constructor Summary
ConstructorDescriptionLecternContainer(String title, int id, int size, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
-
Method Summary
Modifier and TypeMethodDescriptioncom.nukkitx.nbt.NbtMap
int
com.nukkitx.math.vector.Vector3i
void
setBlockEntityTag(com.nukkitx.nbt.NbtMap blockEntityTag)
void
setCurrentBedrockPage(int currentBedrockPage)
void
setPosition(com.nukkitx.math.vector.Vector3i position)
Methods inherited from class org.geysermc.geyser.inventory.Container
getContainerSize, getItem, getPlayerInventory, getSize, isUsingRealBlock, setItem, setUsingRealBlock
Methods inherited from class org.geysermc.geyser.inventory.Inventory
getContainerType, getHolderId, getHolderPosition, getId, getStateId, getTitle, isPending, setHolderId, setHolderPosition, setPending, setStateId, setTitle, toString, updateItemNetId
-
Constructor Details
-
LecternContainer
public LecternContainer(String title, int id, int size, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
-
-
Method Details
-
getCurrentBedrockPage
public int getCurrentBedrockPage() -
setCurrentBedrockPage
public void setCurrentBedrockPage(int currentBedrockPage) -
getBlockEntityTag
public com.nukkitx.nbt.NbtMap getBlockEntityTag() -
setBlockEntityTag
public void setBlockEntityTag(com.nukkitx.nbt.NbtMap blockEntityTag) -
getPosition
public com.nukkitx.math.vector.Vector3i getPosition() -
setPosition
public void setPosition(com.nukkitx.math.vector.Vector3i position)
-