Uses of Interface
net.minecraft.world.item.slot.SlotCollection
Packages that use SlotCollection
Package
Description
-
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.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 TypeMethodDescriptionstatic Function<LootContext, SlotCollection> SlotSources.group(Collection<? extends SlotSource> list) 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
Methods in net.minecraft.world.level.storage.loot that return SlotCollection