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 SlotRangeSlotRangeArgumentType.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.CODECSlotRanges.FROM_NAMESlotRanges.SLOT_RANGESMethods in net.minecraft.inventory that return SlotRangeModifier and TypeMethodDescriptionstatic SlotRangeprivate static SlotRangeprivate static SlotRangeprivate static SlotRangeMethod parameters in net.minecraft.inventory with type arguments of type SlotRangeModifier and TypeMethodDescriptionprivate static voidSlotRanges.createAndAdd(List<SlotRange> list, String name, int slotId) private static voidSlotRanges.createAndAdd(List<SlotRange> list, String name, int[] slots) private static voidSlotRanges.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.slotsThe field for theslotsrecord component.Methods in net.minecraft.predicate.entity that return types with arguments of type SlotRangeModifier and TypeMethodDescriptionSlotsPredicate.slots()Returns the value of theslotsrecord 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 intExecuteCommand.countMatchingItems(Iterable<? extends Entity> entities, SlotRange slotRange, Predicate<ItemStack> predicate) private static intExecuteCommand.countMatchingItems(ServerCommandSource source, BlockPos pos, SlotRange slotRange, Predicate<ItemStack> predicate)