Uses of Interface
net.minecraft.inventory.StackReference
Packages that use StackReference
Package
Description
- 
Uses of StackReference in net.minecraft.entityMethods in net.minecraft.entity that return StackReferenceModifier and TypeMethodDescriptionEntity.getStackReference(int mappedIndex) Obtains a stack reference to be modified.ItemEntity.getStackReference(int mappedIndex) Obtains a stack reference to be modified.LivingEntity.getStackReference(int mappedIndex) Obtains a stack reference to be modified.private static StackReferenceLivingEntity.getStackReference(LivingEntity entity, EquipmentSlot slot) 
- 
Uses of StackReference in net.minecraft.entity.decorationFields in net.minecraft.entity.decoration declared as StackReferenceModifier and TypeFieldDescriptionprivate final StackReferenceDisplayEntity.ItemDisplayEntity.stackReferenceMethods in net.minecraft.entity.decoration that return StackReferenceModifier and TypeMethodDescriptionDisplayEntity.ItemDisplayEntity.getStackReference(int mappedIndex) Obtains a stack reference to be modified.ItemFrameEntity.getStackReference(int mappedIndex) Obtains a stack reference to be modified.
- 
Uses of StackReference in net.minecraft.entity.mobMethods in net.minecraft.entity.mob that return StackReferenceModifier and TypeMethodDescriptionPillagerEntity.getStackReference(int mappedIndex) Obtains a stack reference to be modified.
- 
Uses of StackReference in net.minecraft.entity.passiveMethods in net.minecraft.entity.passive that return StackReferenceModifier and TypeMethodDescriptionAbstractDonkeyEntity.getStackReference(int mappedIndex) Obtains a stack reference to be modified.AbstractHorseEntity.getStackReference(int mappedIndex) Obtains a stack reference to be modified.MerchantEntity.getStackReference(int mappedIndex) Obtains a stack reference to be modified.
- 
Uses of StackReference in net.minecraft.entity.playerMethods in net.minecraft.entity.player that return StackReferenceModifier and TypeMethodDescriptionPlayerEntity.getStackReference(int mappedIndex) Obtains a stack reference to be modified.
- 
Uses of StackReference in net.minecraft.entity.projectileMethods in net.minecraft.entity.projectile that return StackReferenceModifier and TypeMethodDescriptionAbstractFireballEntity.getStackReference(int mappedIndex) Obtains a stack reference to be modified.PersistentProjectileEntity.getStackReference(int mappedIndex) Obtains a stack reference to be modified.
- 
Uses of StackReference in net.minecraft.entity.vehicleMethods in net.minecraft.entity.vehicle that return StackReferenceModifier and TypeMethodDescriptiondefault StackReferenceVehicleInventory.getInventoryStackReference(int slot) AbstractChestBoatEntity.getStackReference(int mappedIndex) Obtains a stack reference to be modified.StorageMinecartEntity.getStackReference(int mappedIndex) Obtains a stack reference to be modified.
- 
Uses of StackReference in net.minecraft.inventoryFields in net.minecraft.inventory declared as StackReferenceModifier and TypeFieldDescriptionstatic final StackReferenceStackReference.EMPTYAn immutable empty stack reference.Methods in net.minecraft.inventory that return StackReferenceModifier and TypeMethodDescriptionstatic StackReferencestatic StackReferenceStackReference.of(LivingEntity entity, EquipmentSlot slot) Creates a stack reference backed by an equipment slot of a living entity with no filter, allowing direct manipulation of the equipment slot.static StackReferenceStackReference.of(LivingEntity entity, EquipmentSlot slot, Predicate<ItemStack> filter) Creates a stack reference backed by an equipment slot of a living entity and guarded by a condition for setting stacks into the inventory.static StackReferenceCreates a stack reference backed by an index within an inventory.static StackReferenceCreates a stack reference backed by an index within an inventory and guarded by a condition for setting stacks into the inventory.
- 
Uses of StackReference in net.minecraft.itemMethods in net.minecraft.item with parameters of type StackReferenceModifier and TypeMethodDescriptionbooleanBundleItem.onClicked(ItemStack stack, ItemStack otherStack, Slot slot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference) Called when the item atslotgets clicked by the cursor holdingotherStack.booleanItem.onClicked(ItemStack stack, ItemStack otherStack, Slot slot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference) Called when the item atslotgets clicked by the cursor holdingotherStack.booleanItemStack.onClicked(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference) 
- 
Uses of StackReference in net.minecraft.screenMethods in net.minecraft.screen that return StackReferenceModifier and TypeMethodDescriptionprivate StackReferenceScreenHandler.getCursorStackReference()Returns a reference to the cursor's stack.