Class SlotRanges

java.lang.Object
net.minecraft.inventory.SlotRanges

public class SlotRanges extends Object
Mappings:
Namespace Name
named net/minecraft/inventory/SlotRanges
intermediary net/minecraft/class_9349
official cva
  • Field Details

    • SLOT_RANGES

      private static final List<SlotRange> SLOT_RANGES
      Mappings:
      Namespace Name Mixin selector
      named SLOT_RANGES Lnet/minecraft/inventory/SlotRanges;SLOT_RANGES:Ljava/util/List;
      intermediary field_49745 Lnet/minecraft/class_9349;field_49745:Ljava/util/List;
      official b Lcva;b:Ljava/util/List;
    • CODEC

      public static final com.mojang.serialization.Codec<SlotRange> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/inventory/SlotRanges;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_49744 Lnet/minecraft/class_9349;field_49744:Lcom/mojang/serialization/Codec;
      official a Lcva;a:Lcom/mojang/serialization/Codec;
    • FROM_NAME

      private static final Function<String,SlotRange> FROM_NAME
      Mappings:
      Namespace Name Mixin selector
      named FROM_NAME Lnet/minecraft/inventory/SlotRanges;FROM_NAME:Ljava/util/function/Function;
      intermediary field_49746 Lnet/minecraft/class_9349;field_49746:Ljava/util/function/Function;
      official c Lcva;c:Ljava/util/function/Function;
  • Constructor Details

    • SlotRanges

      public SlotRanges()
  • Method Details

    • create

      private static SlotRange create(String name, int slotId)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/inventory/SlotRanges;create(Ljava/lang/String;I)Lnet/minecraft/inventory/SlotRange;
      intermediary method_58081 Lnet/minecraft/class_9349;method_58081(Ljava/lang/String;I)Lnet/minecraft/class_9348;
      official a Lcva;a(Ljava/lang/String;I)Lcuz;
    • create

      private static SlotRange create(String name, IntList slotIds)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/inventory/SlotRanges;create(Ljava/lang/String;Lit/unimi/dsi/fastutil/ints/IntList;)Lnet/minecraft/inventory/SlotRange;
      intermediary method_58082 Lnet/minecraft/class_9349;method_58082(Ljava/lang/String;Lit/unimi/dsi/fastutil/ints/IntList;)Lnet/minecraft/class_9348;
      official a Lcva;a(Ljava/lang/String;Lit/unimi/dsi/fastutil/ints/IntList;)Lcuz;
    • create

      private static SlotRange create(String name, int[] slotIds)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/inventory/SlotRanges;create(Ljava/lang/String;[I)Lnet/minecraft/inventory/SlotRange;
      intermediary method_58083 Lnet/minecraft/class_9349;method_58083(Ljava/lang/String;[I)Lnet/minecraft/class_9348;
      official a Lcva;a(Ljava/lang/String;[I)Lcuz;
    • createAndAdd

      private static void createAndAdd(List<SlotRange> list, String name, int slotId)
      Mappings:
      Namespace Name Mixin selector
      named createAndAdd Lnet/minecraft/inventory/SlotRanges;createAndAdd(Ljava/util/List;Ljava/lang/String;I)V
      intermediary method_58085 Lnet/minecraft/class_9349;method_58085(Ljava/util/List;Ljava/lang/String;I)V
      official a Lcva;a(Ljava/util/List;Ljava/lang/String;I)V
    • createAndAdd

      private static void createAndAdd(List<SlotRange> list, String baseName, int firstSlotId, int slotCount)
      Mappings:
      Namespace Name Mixin selector
      named createAndAdd Lnet/minecraft/inventory/SlotRanges;createAndAdd(Ljava/util/List;Ljava/lang/String;II)V
      intermediary method_58086 Lnet/minecraft/class_9349;method_58086(Ljava/util/List;Ljava/lang/String;II)V
      official a Lcva;a(Ljava/util/List;Ljava/lang/String;II)V
    • createAndAdd

      private static void createAndAdd(List<SlotRange> list, String name, int[] slots)
      Mappings:
      Namespace Name Mixin selector
      named createAndAdd Lnet/minecraft/inventory/SlotRanges;createAndAdd(Ljava/util/List;Ljava/lang/String;[I)V
      intermediary method_58087 Lnet/minecraft/class_9349;method_58087(Ljava/util/List;Ljava/lang/String;[I)V
      official a Lcva;a(Ljava/util/List;Ljava/lang/String;[I)V
    • fromName

      @Nullable public static @Nullable SlotRange fromName(String name)
      Mappings:
      Namespace Name Mixin selector
      named fromName Lnet/minecraft/inventory/SlotRanges;fromName(Ljava/lang/String;)Lnet/minecraft/inventory/SlotRange;
      intermediary method_58080 Lnet/minecraft/class_9349;method_58080(Ljava/lang/String;)Lnet/minecraft/class_9348;
      official a Lcva;a(Ljava/lang/String;)Lcuz;
    • streamNames

      public static Stream<String> streamNames()
      Mappings:
      Namespace Name Mixin selector
      named streamNames Lnet/minecraft/inventory/SlotRanges;streamNames()Ljava/util/stream/Stream;
      intermediary method_58078 Lnet/minecraft/class_9349;method_58078()Ljava/util/stream/Stream;
      official a Lcva;a()Ljava/util/stream/Stream;
    • streamSingleSlotNames

      public static Stream<String> streamSingleSlotNames()
      Mappings:
      Namespace Name Mixin selector
      named streamSingleSlotNames Lnet/minecraft/inventory/SlotRanges;streamSingleSlotNames()Ljava/util/stream/Stream;
      intermediary method_58088 Lnet/minecraft/class_9349;method_58088()Ljava/util/stream/Stream;
      official b Lcva;b()Ljava/util/stream/Stream;