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 pRange) -
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> pCollections) static SlotCollectionSlotCollection.concat(SlotCollection pFirst, SlotCollection pSecond) default SlotCollectiondefault SlotCollectionSlotCollection.flatMap(Function<ItemStack, ? extends SlotCollection> pMapper) default SlotCollectionSlotCollection.limit(int pLimit) SlotCollection.Limited.limit(int p_461097_) static SlotCollectionSlotCollection.of(Collection<? extends SlotAccess> pSlot) static SlotCollectionSlotCollection.of(SlotAccess pSlot) CompositeSlotSource.provide(LootContext p_460833_) EmptySlotSource.provide(LootContext p_461274_) final SlotCollectionRangeSlotSource.provide(LootContext p_460706_) SlotSource.provide(LootContext pContext) 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 pSlots) 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> pSlotSources) 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 pFirst, SlotCollection pSecond) protected SlotCollectionContentsSlotSource.transform(SlotCollection p_460811_) protected SlotCollectionFilteredSlotSource.transform(SlotCollection p_460749_) protected SlotCollectionLimitSlotSource.transform(SlotCollection p_460776_) protected abstract SlotCollectionTransformedSlotSource.transform(SlotCollection pSlots) Method parameters in net.minecraft.world.item.slot with type arguments of type SlotCollectionModifier and TypeMethodDescriptionstatic SlotCollectionSlotCollection.concat(List<? extends SlotCollection> pCollections) default SlotCollectionSlotCollection.flatMap(Function<ItemStack, ? extends SlotCollection> pMapper) 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