Package org.geysermc.geyser.inventory
Class EnchantingContainer
java.lang.Object
org.geysermc.geyser.inventory.Inventory
org.geysermc.geyser.inventory.Container
org.geysermc.geyser.inventory.EnchantingContainer
-
Field Summary
Fields inherited from class org.geysermc.geyser.inventory.Inventory
containerType, holderId, holderPosition, id, items, size, title
-
Constructor Summary
ConstructorDescriptionEnchantingContainer(String title, int id, int size, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
-
Method Summary
Modifier and TypeMethodDescriptioncom.nukkitx.protocol.bedrock.data.inventory.EnchantOptionData[]
A cache of what Bedrock seesA mutable cache of what the server sends usMethods 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
-
EnchantingContainer
public EnchantingContainer(String title, int id, int size, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
-
-
Method Details
-
getEnchantOptions
public com.nukkitx.protocol.bedrock.data.inventory.EnchantOptionData[] getEnchantOptions()A cache of what Bedrock sees -
getGeyserEnchantOptions
A mutable cache of what the server sends us
-