Uses of Interface
net.minecraft.inventory.ItemSource
Packages that use ItemSource
Package
Description
The base package for all Minecraft classes.
-
Uses of ItemSource in net.minecraft
Fields in net.minecraft with type parameters of type ItemSourceModifier and TypeFieldDescriptionprivate final Function<LootContext, ItemSource> class_12264.field_64148Methods in net.minecraft that return ItemSourceModifier and TypeMethodDescriptionclass_12264.method_76108(LootContext lootContext) class_12266.method_76108(LootContext lootContext) final ItemSourceclass_12270.method_76108(LootContext lootContext) class_12275.method_76108(LootContext lootContext) final ItemSourceclass_12277.method_76108(LootContext lootContext) protected ItemSourceclass_12265.method_76114(ItemSource itemSource) protected ItemSourceclass_12267.method_76114(ItemSource itemSource) protected ItemSourceclass_12269.method_76114(ItemSource itemSource) protected abstract ItemSourceclass_12277.method_76114(ItemSource itemSource) Methods in net.minecraft that return types with arguments of type ItemSourceModifier and TypeMethodDescriptionstatic Function<LootContext, ItemSource> class_12276.method_76138(Collection<? extends class_12275> collection) Methods in net.minecraft with parameters of type ItemSourceModifier and TypeMethodDescriptionprotected ItemSourceclass_12265.method_76114(ItemSource itemSource) protected ItemSourceclass_12267.method_76114(ItemSource itemSource) protected ItemSourceclass_12269.method_76114(ItemSource itemSource) protected abstract ItemSourceclass_12277.method_76114(ItemSource itemSource) -
Uses of ItemSource in net.minecraft.inventory
Classes in net.minecraft.inventory that implement ItemSourceModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final recordFields in net.minecraft.inventory declared as ItemSourceModifier and TypeFieldDescriptionstatic final ItemSourceItemSource.EMPTYprivate final ItemSourceItemSource.Filter.slotsThe field for theslotsrecord component.private final ItemSourceItemSource.Limit.slotsThe field for theslotsrecord component.private final ItemSourceItemSource.Map.slotsThe field for theslotsrecord component.Fields in net.minecraft.inventory with type parameters of type ItemSourceModifier and TypeFieldDescriptionprivate final Function<ItemStack, ? extends ItemSource> ItemSource.Map.mapperThe field for themapperrecord component.Methods in net.minecraft.inventory that return ItemSourceModifier and TypeMethodDescriptionstatic ItemSourceItemSource.combine(List<? extends ItemSource> itemSources) static ItemSourceItemSource.combineAll(Collection<? extends StackReference> stackReferences) static ItemSourceItemSource.concat(ItemSource first, ItemSource second) default ItemSourceItemSource.filter(Function<ItemStack, ? extends ItemSource> function) default ItemSourcedefault ItemSourceStackReferenceGetter.getStackReferences(IntList slots) default ItemSourceItemSource.limit(int count) ItemSource.Limit.limit(int count) ItemSource.Filter.slots()Returns the value of theslotsrecord component.ItemSource.Limit.slots()Returns the value of theslotsrecord component.ItemSource.Map.slots()Returns the value of theslotsrecord component.static ItemSourceItemSource.toStrean(StackReference stackReference) Methods in net.minecraft.inventory that return types with arguments of type ItemSourceModifier and TypeMethodDescriptionFunction<ItemStack, ? extends ItemSource> ItemSource.Map.mapper()Returns the value of themapperrecord component.Methods in net.minecraft.inventory with parameters of type ItemSourceModifier and TypeMethodDescriptionstatic ItemSourceItemSource.concat(ItemSource first, ItemSource second) Method parameters in net.minecraft.inventory with type arguments of type ItemSourceModifier and TypeMethodDescriptionstatic ItemSourceItemSource.combine(List<? extends ItemSource> itemSources) default ItemSourceItemSource.filter(Function<ItemStack, ? extends ItemSource> function) Constructors in net.minecraft.inventory with parameters of type ItemSourceModifierConstructorDescriptionFilter(ItemSource slots, Predicate<ItemStack> filter) Creates an instance of aFilterrecord class.Limit(ItemSource slots, int limit) Creates an instance of aLimitrecord class.Map(ItemSource slots, Function<ItemStack, ? extends ItemSource> mapper) Creates an instance of aMaprecord class.Constructor parameters in net.minecraft.inventory with type arguments of type ItemSourceModifierConstructorDescriptionMap(ItemSource slots, Function<ItemStack, ? extends ItemSource> mapper) Creates an instance of aMaprecord class. -
Uses of ItemSource in net.minecraft.loot
Methods in net.minecraft.loot that return ItemSourceModifier and TypeMethodDescriptiondefault ItemSourceContainerComponentModifier.method_76205(ItemStack itemStack)