Uses of Class
org.geysermc.geyser.inventory.GeyserItemStack
Packages that use GeyserItemStack
Package
Description
-
Uses of GeyserItemStack in org.geysermc.geyser.entity.type
Methods in org.geysermc.geyser.entity.type with parameters of type GeyserItemStackModifier and TypeMethodDescriptionprotected InteractionResultLivingEntity.checkInteractWithNameTag(GeyserItemStack itemStack)Checks to see if a nametag interaction would go through. -
Uses of GeyserItemStack in org.geysermc.geyser.entity.type.living
Methods in org.geysermc.geyser.entity.type.living with parameters of type GeyserItemStackModifier and TypeMethodDescriptionprotected InteractionResultAbstractFishEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultAllayEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultDolphinEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultIronGolemEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultMobEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultSnowGolemEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultTadpoleEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagAllayEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagDolphinEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagMobEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagSnowGolemEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagTadpoleEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand) -
Uses of GeyserItemStack in org.geysermc.geyser.entity.type.living.animal
Methods in org.geysermc.geyser.entity.type.living.animal with parameters of type GeyserItemStackModifier and TypeMethodDescriptionbooleanAnimalEntity.canEat(GeyserItemStack itemStack)protected InteractionResultAnimalEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultAxolotlEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultCowEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultGoatEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultMooshroomEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultOcelotEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultPandaEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultPigEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultSheepEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultStriderEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagAnimalEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagCowEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagMooshroomEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagOcelotEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagPandaEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagPigEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagSheepEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagStriderEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand) -
Uses of GeyserItemStack in org.geysermc.geyser.entity.type.living.animal.horse
Methods in org.geysermc.geyser.entity.type.living.animal.horse with parameters of type GeyserItemStackModifier and TypeMethodDescriptionprotected booleanAbstractHorseEntity.additionalTestForInventoryOpen(GeyserItemStack itemInHand)protected booleanChestedHorseEntity.additionalTestForInventoryOpen(GeyserItemStack itemInHand)protected InteractionResultAbstractHorseEntity.mobHorseInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultAbstractHorseEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultSkeletonHorseEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultZombieHorseEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected booleanAbstractHorseEntity.testForChest(GeyserItemStack itemInHand)protected booleanChestedHorseEntity.testForChest(GeyserItemStack itemInHand)protected InteractiveTagAbstractHorseEntity.testHorseInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagAbstractHorseEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagSkeletonHorseEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagZombieHorseEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected booleanAbstractHorseEntity.testSaddle(GeyserItemStack itemInHand)protected booleanChestedHorseEntity.testSaddle(GeyserItemStack itemInHand)protected InteractiveTagAbstractHorseEntity.testUndeadHorseInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultAbstractHorseEntity.undeadHorseInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand) -
Uses of GeyserItemStack in org.geysermc.geyser.entity.type.living.animal.tameable
Methods in org.geysermc.geyser.entity.type.living.animal.tameable with parameters of type GeyserItemStackModifier and TypeMethodDescriptionprotected InteractionResultCatEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultParrotEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultWolfEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagCatEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagParrotEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagWolfEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand) -
Uses of GeyserItemStack in org.geysermc.geyser.entity.type.living.merchant
Methods in org.geysermc.geyser.entity.type.living.merchant with parameters of type GeyserItemStackModifier and TypeMethodDescriptionprotected InteractionResultAbstractMerchantEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagAbstractMerchantEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand) -
Uses of GeyserItemStack in org.geysermc.geyser.entity.type.living.monster
Methods in org.geysermc.geyser.entity.type.living.monster with parameters of type GeyserItemStackModifier and TypeMethodDescriptionprotected InteractionResultCreeperEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultPiglinEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractionResultZombieVillagerEntity.mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagCreeperEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagPiglinEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand)protected InteractiveTagZombieVillagerEntity.testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, GeyserItemStack itemInHand) -
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()PlayerInventory.getItemInHand(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand)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)booleanTagCache.isFish(GeyserItemStack itemStack)booleanTagCache.isSmallFlower(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 booleanEntityUtils.attemptToBucket(GeyserSession session, GeyserItemStack itemInHand)Determine if an action would result in a successful bucketing of the given entity.static InteractionResultEntityUtils.attemptToSaddle(GeyserSession session, Entity entityToSaddle, GeyserItemStack itemInHand)Attempt to determine the result of saddling the given entity.static booleanInventoryUtils.canStack(GeyserItemStack item1, GeyserItemStack item2)Method parameters in org.geysermc.geyser.util with type arguments of type GeyserItemStackModifier and TypeMethodDescriptionstatic GeyserRecipeInventoryUtils.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