Uses of Class
org.geysermc.geyser.inventory.GeyserItemStack
Packages that use GeyserItemStack
Package
Description
-
Uses of GeyserItemStack in org.geysermc.geyser.inventory
Fields in org.geysermc.geyser.inventory declared as GeyserItemStackModifier and TypeFieldDescriptionstatic GeyserItemStackGeyserItemStack.EMPTYprotected GeyserItemStack[]Inventory.itemsMethods in org.geysermc.geyser.inventory that return GeyserItemStackModifier and TypeMethodDescriptionGeyserItemStack.copy()GeyserItemStack.copy(int newAmount)static GeyserItemStackGeyserItemStack.from(com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack itemStack)AnvilContainer.getInput()Container.getItem(int slot)Inventory.getItem(int slot)PlayerInventory.getItemInHand()AnvilContainer.getMaterial()PlayerInventory.getOffhand()AnvilContainer.getResult()Methods in org.geysermc.geyser.inventory with parameters of type GeyserItemStackModifier and TypeMethodDescriptionvoidPlayerInventory.setCursor(GeyserItemStack newCursor, GeyserSession session)voidContainer.setItem(int slot, GeyserItemStack newItem, GeyserSession session)voidInventory.setItem(int slot, GeyserItemStack newItem, GeyserSession session)voidStonecutterContainer.setItem(int slot, @NonNull GeyserItemStack newItem, GeyserSession session)voidPlayerInventory.setItemInHand(GeyserItemStack item)protected voidInventory.updateItemNetId(GeyserItemStack oldItem, GeyserItemStack newItem, GeyserSession session) -
Uses of GeyserItemStack in org.geysermc.geyser.inventory.click
Methods in org.geysermc.geyser.inventory.click that return GeyserItemStack -
Uses of GeyserItemStack in org.geysermc.geyser.session.cache
Methods in org.geysermc.geyser.session.cache with parameters of type GeyserItemStackModifier and TypeMethodDescriptionvoidLodestoneCache.cacheInventoryItem(GeyserItemStack itemStack) -
Uses of GeyserItemStack in org.geysermc.geyser.translator.inventory.item
Methods in org.geysermc.geyser.translator.inventory.item with parameters of type GeyserItemStackModifier and TypeMethodDescriptionstatic ItemMappingItemTranslator.getBedrockItemMapping(GeyserSession session, GeyserItemStack itemStack)Given an item stack, determine the item mapping that should be applied to Bedrock players. -
Uses of GeyserItemStack in org.geysermc.geyser.translator.sound
Methods in org.geysermc.geyser.translator.sound with parameters of type GeyserItemStackModifier and TypeMethodDescriptionstatic booleanBlockSoundInteractionTranslator.canInteract(GeyserSession session, GeyserItemStack itemInHand, String blockIdentifier)Determines if the adventure gamemode would prevent this item from actually succeeding -
Uses of GeyserItemStack in org.geysermc.geyser.util
Methods in org.geysermc.geyser.util with parameters of type GeyserItemStackModifier and TypeMethodDescriptionstatic booleanInventoryUtils.canStack(GeyserItemStack item1, GeyserItemStack item2)Method parameters in org.geysermc.geyser.util with type arguments of type GeyserItemStackModifier and TypeMethodDescriptionstatic com.github.steveice10.mc.protocol.data.game.recipe.RecipeInventoryUtils.getValidRecipe(GeyserSession session, com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack output, IntFunction<GeyserItemStack> inventoryGetter, int gridDimensions, int firstRow, int height, int firstCol, int width)Test all known recipes to find a valid match