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 range) -
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> collections) 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 p_461097_) static SlotCollectionSlotCollection.of(Collection<? extends SlotAccess> slot) static SlotCollectionSlotCollection.of(SlotAccess slot) CompositeSlotSource.provide(LootContext p_460833_) EmptySlotSource.provide(LootContext p_461274_) final SlotCollectionRangeSlotSource.provide(LootContext p_460706_) SlotSource.provide(LootContext context) final SlotCollectionTransformedSlotSource.provide(LootContext p_460834_) 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 p_460811_) protected SlotCollectionFilteredSlotSource.transform(SlotCollection p_460749_) protected SlotCollectionLimitSlotSource.transform(SlotCollection p_460776_) 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> slotSources) 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 p_460811_) protected SlotCollectionFilteredSlotSource.transform(SlotCollection p_460749_) protected SlotCollectionLimitSlotSource.transform(SlotCollection p_460776_) 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> collections) default SlotCollectionSlotCollection.flatMap(Function<ItemStack, ? extends SlotCollection> mapper) Constructors in net.minecraft.world.item.slot with parameters of type SlotCollectionModifierConstructorDescriptionFiltered(SlotCollection slots, Predicate<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