Uses of Interface
net.minecraft.inventory.SlotRange
Packages that use SlotRange
Package
Description
-
Uses of SlotRange in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return SlotRangeModifier and TypeMethodDescriptionstatic SlotRange
SlotRangeArgumentType.getSlotRange
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) SlotRangeArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) -
Uses of SlotRange in net.minecraft.inventory
Fields in net.minecraft.inventory with type parameters of type SlotRangeModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<SlotRange> SlotRanges.CODEC
SlotRanges.FROM_NAME
SlotRanges.SLOT_RANGES
Methods in net.minecraft.inventory that return SlotRangeModifier and TypeMethodDescriptionstatic SlotRange
private static SlotRange
private static SlotRange
private static SlotRange
Method parameters in net.minecraft.inventory with type arguments of type SlotRangeModifier and TypeMethodDescriptionprivate static void
SlotRanges.createAndAdd
(List<SlotRange> list, String name, int slotId) private static void
SlotRanges.createAndAdd
(List<SlotRange> list, String name, int[] slots) private static void
SlotRanges.createAndAdd
(List<SlotRange> list, String baseName, int firstSlotId, int lastSlotId) -
Uses of SlotRange in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type SlotRangeModifier and TypeFieldDescriptionprivate final Map
<SlotRange, ItemPredicate> SlotsPredicate.slots
The field for theslots
record component.Methods in net.minecraft.predicate.entity that return types with arguments of type SlotRangeModifier and TypeMethodDescriptionSlotsPredicate.slots()
Returns the value of theslots
record component.Constructor parameters in net.minecraft.predicate.entity with type arguments of type SlotRange -
Uses of SlotRange in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type SlotRangeModifier and TypeMethodDescriptionprivate static int
ExecuteCommand.countMatchingItems
(Iterable<? extends Entity> entities, SlotRange slotRange, Predicate<ItemStack> predicate) private static int
ExecuteCommand.countMatchingItems
(ServerCommandSource source, BlockPos pos, SlotRange slotRange, Predicate<ItemStack> predicate)