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(GeyserItemStack itemInHand)protected InteractionResultDolphinEntity.mobInteract(GeyserItemStack itemInHand)protected InteractionResultIronGolemEntity.mobInteract(GeyserItemStack itemInHand)protected InteractionResultMobEntity.mobInteract(GeyserItemStack itemInHand)protected InteractionResultSnowGolemEntity.mobInteract(GeyserItemStack itemInHand)protected InteractiveTagDolphinEntity.testMobInteraction(GeyserItemStack itemInHand)protected InteractiveTagMobEntity.testMobInteraction(GeyserItemStack itemInHand)protected InteractiveTagSnowGolemEntity.testMobInteraction(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(GeyserItemStack itemInHand)protected InteractionResultAxolotlEntity.mobInteract(GeyserItemStack itemInHand)protected InteractionResultCowEntity.mobInteract(GeyserItemStack itemInHand)protected InteractionResultGoatEntity.mobInteract(GeyserItemStack itemInHand)protected InteractionResultMooshroomEntity.mobInteract(GeyserItemStack itemInHand)protected InteractionResultOcelotEntity.mobInteract(GeyserItemStack itemInHand)protected InteractionResultPandaEntity.mobInteract(GeyserItemStack itemInHand)protected InteractionResultPigEntity.mobInteract(GeyserItemStack itemInHand)protected InteractionResultSheepEntity.mobInteract(GeyserItemStack itemInHand)protected InteractionResultStriderEntity.mobInteract(GeyserItemStack itemInHand)protected InteractiveTagAnimalEntity.testMobInteraction(GeyserItemStack itemInHand)protected InteractiveTagCowEntity.testMobInteraction(GeyserItemStack itemInHand)protected InteractiveTagMooshroomEntity.testMobInteraction(GeyserItemStack itemInHand)protected InteractiveTagOcelotEntity.testMobInteraction(GeyserItemStack itemInHand)protected InteractiveTagPandaEntity.testMobInteraction(GeyserItemStack itemInHand)protected InteractiveTagPigEntity.testMobInteraction(GeyserItemStack itemInHand)protected InteractiveTagSheepEntity.testMobInteraction(GeyserItemStack itemInHand)protected InteractiveTagStriderEntity.testMobInteraction(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(GeyserItemStack itemInHand)protected InteractionResultAbstractHorseEntity.mobInteract(GeyserItemStack itemInHand)protected InteractionResultSkeletonHorseEntity.mobInteract(GeyserItemStack itemInHand)protected InteractionResultZombieHorseEntity.mobInteract(GeyserItemStack itemInHand)protected booleanAbstractHorseEntity.testForChest(GeyserItemStack itemInHand)protected booleanChestedHorseEntity.testForChest(GeyserItemStack itemInHand)protected InteractiveTagAbstractHorseEntity.testHorseInteraction(GeyserItemStack itemInHand)protected InteractiveTagAbstractHorseEntity.testMobInteraction(GeyserItemStack itemInHand)protected InteractiveTagSkeletonHorseEntity.testMobInteraction(GeyserItemStack itemInHand)protected InteractiveTagZombieHorseEntity.testMobInteraction(GeyserItemStack itemInHand)protected booleanAbstractHorseEntity.testSaddle(GeyserItemStack itemInHand)protected booleanChestedHorseEntity.testSaddle(GeyserItemStack itemInHand)protected InteractiveTagAbstractHorseEntity.testUndeadHorseInteraction(GeyserItemStack itemInHand)protected InteractionResultAbstractHorseEntity.undeadHorseInteract(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(GeyserItemStack itemInHand)protected InteractionResultParrotEntity.mobInteract(GeyserItemStack itemInHand)protected InteractionResultWolfEntity.mobInteract(GeyserItemStack itemInHand)protected InteractiveTagCatEntity.testMobInteraction(GeyserItemStack itemInHand)protected InteractiveTagParrotEntity.testMobInteraction(GeyserItemStack itemInHand)protected InteractiveTagWolfEntity.testMobInteraction(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(GeyserItemStack itemInHand)protected InteractiveTagAbstractMerchantEntity.testMobInteraction(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(GeyserItemStack itemInHand)protected InteractionResultPiglinEntity.mobInteract(GeyserItemStack itemInHand)protected InteractionResultZombieVillagerEntity.mobInteract(GeyserItemStack itemInHand)protected InteractiveTagCreeperEntity.testMobInteraction(GeyserItemStack itemInHand)protected InteractiveTagPiglinEntity.testMobInteraction(GeyserItemStack itemInHand)protected InteractiveTagZombieVillagerEntity.testMobInteraction(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