Uses of Interface
net.minecraft.inventory.StackReference
Packages that use StackReference
Package
Description
The base package for all Minecraft classes.
-
Uses of StackReference in net.minecraft
Methods in net.minecraft that return StackReferenceModifier and TypeMethodDescription@Nullable StackReferenceclass_12260.getStackReference(int int2) Methods in net.minecraft with parameters of type StackReferenceModifier and TypeMethodDescriptionstatic class_12271class_12271.method_76124(StackReference stackReference) Method parameters in net.minecraft with type arguments of type StackReferenceModifier and TypeMethodDescriptionstatic class_12271class_12271.method_76126(Collection<? extends StackReference> collection) -
Uses of StackReference in net.minecraft.entity
Methods in net.minecraft.entity that return StackReferenceModifier and TypeMethodDescription@Nullable StackReferenceEntity.getStackReference(int int2) @Nullable StackReferenceItemEntity.getStackReference(int int2) @Nullable StackReferenceLivingEntity.getStackReference(int int2) private static StackReferenceLivingEntity.getStackReference(LivingEntity entity, EquipmentSlot slot) -
Uses of StackReference in net.minecraft.entity.decoration
Fields in net.minecraft.entity.decoration declared as StackReferenceModifier and TypeFieldDescriptionprivate final StackReferenceDisplayEntity.ItemDisplayEntity.stackReferenceMethods in net.minecraft.entity.decoration that return StackReferenceModifier and TypeMethodDescription@Nullable StackReferenceDisplayEntity.ItemDisplayEntity.getStackReference(int int2) @Nullable StackReferenceItemFrameEntity.getStackReference(int int2) -
Uses of StackReference in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob that return StackReferenceModifier and TypeMethodDescription@Nullable StackReferencePillagerEntity.getStackReference(int int2) -
Uses of StackReference in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive that return StackReferenceModifier and TypeMethodDescription@Nullable StackReferenceAbstractDonkeyEntity.getStackReference(int int2) @Nullable StackReferenceAbstractHorseEntity.getStackReference(int int2) @Nullable StackReferenceMerchantEntity.getStackReference(int int2) -
Uses of StackReference in net.minecraft.entity.player
Methods in net.minecraft.entity.player that return StackReferenceModifier and TypeMethodDescription@Nullable StackReferencePlayerEntity.getStackReference(int int2) -
Uses of StackReference in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile that return StackReferenceModifier and TypeMethodDescription@Nullable StackReferenceAbstractFireballEntity.getStackReference(int int2) @Nullable StackReferencePersistentProjectileEntity.getStackReference(int int2) -
Uses of StackReference in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle that return StackReferenceModifier and TypeMethodDescriptiondefault @Nullable StackReferenceVehicleInventory.getInventoryStackReference(int slot) AbstractChestBoatEntity.getStackReference(int int2) StorageMinecartEntity.getStackReference(int int2) -
Uses of StackReference in net.minecraft.inventory
Methods in net.minecraft.inventory that return StackReferenceModifier and TypeMethodDescriptiondefault @Nullable StackReferenceInventory.getStackReference(int int2) static StackReferenceStackReference.method_76092(List<ItemStack> list, int int2) static 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. -
Uses of StackReference in net.minecraft.item
Methods 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.screen
Methods in net.minecraft.screen that return StackReferenceModifier and TypeMethodDescriptionprivate StackReferenceScreenHandler.getCursorStackReference()Returns a reference to the cursor's stack.