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.Container
playerInventoryFields inherited from class org.geysermc.geyser.inventory.Inventory
containerType, holderId, holderPosition, items, javaId, size, title -
Constructor Summary
ConstructorsConstructorDescriptionEnchantingContainer(GeyserSession session, String title, int id, int size, org.geysermc.mcprotocollib.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory, InventoryTranslator translator) -
Method Summary
Modifier and TypeMethodDescriptionorg.cloudburstmc.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, getOffsetForHotbar, getPlayerInventory, getSize, isUsingRealBlock, setItem, setUsingRealBlockMethods inherited from class org.geysermc.geyser.inventory.Inventory
getBedrockId, getContainerType, getHolderId, getHolderPosition, getJavaId, getNextStateId, getSession, getStateId, getTitle, getTranslator, incrementStateId, isDisplayed, isPending, resetNextStateId, setBedrockId, setDisplayed, setHolderId, setHolderPosition, setPending, setStateId, shouldConfirmContainerClose, toString, updateInventory, updateItemNetId, updateProperty, updateSlot
-
Constructor Details
-
EnchantingContainer
public EnchantingContainer(GeyserSession session, String title, int id, int size, org.geysermc.mcprotocollib.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory, InventoryTranslator translator)
-
-
Method Details
-
getEnchantOptions
public org.cloudburstmc.protocol.bedrock.data.inventory.EnchantOptionData[] getEnchantOptions()A cache of what Bedrock sees -
getGeyserEnchantOptions
A mutable cache of what the server sends us
-