Uses of Interface
net.minecraft.world.item.slot.SlotCollection
Packages that use SlotCollection
Package
Description
-
Uses of SlotCollection in net.minecraft.server.commands.item
Methods in net.minecraft.server.commands.item that return SlotCollectionModifier and TypeMethodDescriptionprivate SlotCollectionBlockItemAccessor.getBlockSlots(CommandSourceStack source, SlotSource slotSource, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType exceptionType) BlockItemAccessor.getSlots(CommandSourceStack source, SlotSource slotSource) EntityItemAccessor.getSlots(CommandSourceStack source, SlotSource slotSource) ItemAccessor.getSlots(CommandSourceStack source, SlotSource slotSource) (package private) static SlotCollectionItemCommands.getSlotsFromProvider(CommandSourceStack source, SlotProvider container, SlotSource slotSource) Methods in net.minecraft.server.commands.item with parameters of type SlotCollectionModifier and TypeMethodDescriptionintItemAccessor.SetterFunction.apply(Target target, SlotCollection slots) -
Uses of SlotCollection in net.minecraft.world.entity
Methods in net.minecraft.world.entity that return SlotCollectionModifier and TypeMethodDescriptiondefault SlotCollectionSlotProvider.getSlotsFromRange(it.unimi.dsi.fastutil.ints.IntList slots) -
Uses of SlotCollection in net.minecraft.world.item.component
Subinterfaces of SlotCollection in net.minecraft.world.item.componentClasses in net.minecraft.world.item.component that implement SlotCollectionModifier and TypeClassDescriptionstatic classstatic classclassstatic classclass -
Uses of SlotCollection in net.minecraft.world.item.slot
Classes in net.minecraft.world.item.slot that implement SlotCollectionModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final recordFields in net.minecraft.world.item.slot declared as SlotCollectionModifier and TypeFieldDescriptionstatic final SlotCollectionSlotCollection.EMPTYprivate final SlotCollectionSlotCollection.Filtered.slotsThe field for theslotsrecord component.private final SlotCollectionSlotCollection.FlatMapped.slotsThe field for theslotsrecord component.private final SlotCollectionSlotCollection.Limited.slotsThe field for theslotsrecord component.Fields in net.minecraft.world.item.slot with type parameters of type SlotCollectionModifier and TypeFieldDescriptionprivate final Function<LootContext, SlotCollection> CompositeSlotSource.compositeSlotSourceprivate final Function<ItemStack, ? extends SlotCollection> SlotCollection.FlatMapped.mapperThe field for themapperrecord component.Methods in net.minecraft.world.item.slot that return SlotCollectionModifier and TypeMethodDescriptionstatic SlotCollectionSlotCollection.concat(List<? extends SlotCollection> terms) static SlotCollectionSlotCollection.concat(SlotCollection first, SlotCollection second) default SlotCollectiondefault SlotCollectionSlotCollection.flatMap(Function<ItemStack, ? extends SlotCollection> mapper) default SlotCollectionSlotCollection.limit(int limit) SlotCollection.Limited.limit(int limit) static SlotCollectionSlotCollection.of(Collection<? extends SlotAccess> slots) static SlotCollectionSlotCollection.of(SlotAccess slotAccess) CompositeSlotSource.provide(LootContext context) EmptySlotSource.provide(LootContext context) final SlotCollectionRangeSlotSource.provide(LootContext context) SlotSource.provide(LootContext context) final SlotCollectionTransformedSlotSource.provide(LootContext context) SlotCollection.Filtered.slots()Returns the value of theslotsrecord component.SlotCollection.FlatMapped.slots()Returns the value of theslotsrecord component.SlotCollection.Limited.slots()Returns the value of theslotsrecord component.protected SlotCollectionContentsSlotSource.transform(SlotCollection slots) protected SlotCollectionFilteredSlotSource.transform(SlotCollection slots) protected SlotCollectionLimitSlotSource.transform(SlotCollection slots) protected abstract SlotCollectionTransformedSlotSource.transform(SlotCollection slots) Methods in net.minecraft.world.item.slot that return types with arguments of type SlotCollectionModifier and TypeMethodDescriptionprivate static Function<LootContext, SlotCollection> CompositeSlotSource.group(HolderSet<SlotSource> terms) Function<ItemStack, ? extends SlotCollection> SlotCollection.FlatMapped.mapper()Returns the value of themapperrecord component.Methods in net.minecraft.world.item.slot with parameters of type SlotCollectionModifier and TypeMethodDescriptionstatic SlotCollectionSlotCollection.concat(SlotCollection first, SlotCollection second) protected SlotCollectionContentsSlotSource.transform(SlotCollection slots) protected SlotCollectionFilteredSlotSource.transform(SlotCollection slots) protected SlotCollectionLimitSlotSource.transform(SlotCollection slots) protected abstract SlotCollectionTransformedSlotSource.transform(SlotCollection slots) Method parameters in net.minecraft.world.item.slot with type arguments of type SlotCollectionModifier and TypeMethodDescriptionstatic SlotCollectionSlotCollection.concat(List<? extends SlotCollection> terms) default SlotCollectionSlotCollection.flatMap(Function<ItemStack, ? extends SlotCollection> mapper) Constructors in net.minecraft.world.item.slot with parameters of type SlotCollectionModifierConstructorDescriptionFiltered(SlotCollection slots, Predicate<? super ItemStack> filter) Creates an instance of aFilteredrecord class.FlatMapped(SlotCollection slots, Function<ItemStack, ? extends SlotCollection> mapper) Creates an instance of aFlatMappedrecord class.Limited(SlotCollection slots, int limit) Creates an instance of aLimitedrecord class.Constructor parameters in net.minecraft.world.item.slot with type arguments of type SlotCollectionModifierConstructorDescriptionFlatMapped(SlotCollection slots, Function<ItemStack, ? extends SlotCollection> mapper) Creates an instance of aFlatMappedrecord class. -
Uses of SlotCollection in net.minecraft.world.level.storage.loot
Classes in net.minecraft.world.level.storage.loot that implement SlotCollectionModifier and TypeClassDescriptionprivate static final recordMethods in net.minecraft.world.level.storage.loot that return SlotCollectionModifier and TypeMethodDescription