Uses of Interface
net.minecraft.inventory.SlotRange
Package
Description
-
Uses of SlotRange in net.minecraft.command.argument
Modifier 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
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<SlotRange> SlotRanges.CODEC
SlotRanges.FROM_NAME
SlotRanges.SLOT_RANGES
Modifier and TypeMethodDescriptionstatic SlotRange
private static SlotRange
private static SlotRange
private static SlotRange
Modifier 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 slotCount) -
Uses of SlotRange in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionprivate final Map
<SlotRange, ItemPredicate> SlotsPredicate.slots
The field for theslots
record component. -
Uses of SlotRange in net.minecraft.server.command
Modifier 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)