Package org.geysermc.geyser.inventory
Class StonecutterContainer
java.lang.Object
org.geysermc.geyser.inventory.Inventory
org.geysermc.geyser.inventory.Container
org.geysermc.geyser.inventory.StonecutterContainer
-
Field Summary
Fields inherited from class org.geysermc.geyser.inventory.Inventory
containerType, holderId, holderPosition, id, items, size, title
-
Constructor Summary
ConstructorDescriptionStonecutterContainer(String title, int id, int size, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
-
Method Summary
Modifier and TypeMethodDescriptionint
The button that has currently been pressed Java-sidevoid
setItem(int slot, @NonNull GeyserItemStack newItem, GeyserSession session)
void
setStonecutterButton(int stonecutterButton)
The button that has currently been pressed Java-sideMethods inherited from class org.geysermc.geyser.inventory.Container
getContainerSize, getItem, getPlayerInventory, getSize, isUsingRealBlock, 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
-
StonecutterContainer
public StonecutterContainer(String title, int id, int size, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
-
-
Method Details