Package net.minecraft

Record Class class_11555

java.lang.Object
java.lang.Record
net.minecraft.class_11555
Record Components:
major -
minor -
All Implemented Interfaces:
Comparable<class_11555>

public record class_11555(int major, int minor) extends Record implements Comparable<class_11555>
Mappings:
Namespace Name
named net/minecraft/class_11555
intermediary net/minecraft/class_11555
official awt
named major
intermediary comp_4416
official c
named minor
intermediary comp_4417
official d
  • Field Details

    • major

      private final int major
      The field for the major record component.
    • minor

      private final int minor
      The field for the minor record component.
    • field_61151

      private static final Logger field_61151
      Mappings:
      Namespace Name Mixin selector
      named field_61151 Lnet/minecraft/class_11555;field_61151:Lorg/slf4j/Logger;
      intermediary field_61151 Lnet/minecraft/class_11555;field_61151:Lorg/slf4j/Logger;
      official e Lawt;e:Lorg/slf4j/Logger;
    • field_61149

      public static final com.mojang.serialization.Codec<class_11555> field_61149
      Mappings:
      Namespace Name Mixin selector
      named field_61149 Lnet/minecraft/class_11555;field_61149:Lcom/mojang/serialization/Codec;
      intermediary field_61149 Lnet/minecraft/class_11555;field_61149:Lcom/mojang/serialization/Codec;
      official a Lawt;a:Lcom/mojang/serialization/Codec;
    • field_61150

      public static final com.mojang.serialization.Codec<class_11555> field_61150
      Mappings:
      Namespace Name Mixin selector
      named field_61150 Lnet/minecraft/class_11555;field_61150:Lcom/mojang/serialization/Codec;
      intermediary field_61150 Lnet/minecraft/class_11555;field_61150:Lcom/mojang/serialization/Codec;
      official b Lawt;b:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • class_11555

      public class_11555(int int2, int int3)
  • Method Details

    • method_72328

      private static com.mojang.serialization.Codec<class_11555> method_72328(int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_72328 Lnet/minecraft/class_11555;method_72328(I)Lcom/mojang/serialization/Codec;
      intermediary method_72328 Lnet/minecraft/class_11555;method_72328(I)Lcom/mojang/serialization/Codec;
      official b Lawt;b(I)Lcom/mojang/serialization/Codec;
    • method_72327

      public static <ResultType, HolderType extends class_11555.class_11557> com.mojang.serialization.DataResult<List<ResultType>> method_72327(List<HolderType> list, int int2, BiFunction<HolderType,Range<class_11555>,ResultType> biFunction)
      Mappings:
      Namespace Name Mixin selector
      named method_72327 Lnet/minecraft/class_11555;method_72327(Ljava/util/List;ILjava/util/function/BiFunction;)Lcom/mojang/serialization/DataResult;
      intermediary method_72327 Lnet/minecraft/class_11555;method_72327(Ljava/util/List;ILjava/util/function/BiFunction;)Lcom/mojang/serialization/DataResult;
      official a Lawt;a(Ljava/util/List;ILjava/util/function/BiFunction;)Lcom/mojang/serialization/DataResult;
    • method_72325

      public static int method_72325(ResourceType resourceType)
      Mappings:
      Namespace Name Mixin selector
      named method_72325 Lnet/minecraft/class_11555;method_72325(Lnet/minecraft/resource/ResourceType;)I
      intermediary method_72325 Lnet/minecraft/class_11555;method_72325(Lnet/minecraft/class_3264;)I
      official a Lawt;a(Lawh;)I
    • method_72329

      public static com.mojang.serialization.MapCodec<Range<class_11555>> method_72329(ResourceType resourceType)
      Mappings:
      Namespace Name Mixin selector
      named method_72329 Lnet/minecraft/class_11555;method_72329(Lnet/minecraft/resource/ResourceType;)Lcom/mojang/serialization/MapCodec;
      intermediary method_72329 Lnet/minecraft/class_11555;method_72329(Lnet/minecraft/class_3264;)Lcom/mojang/serialization/MapCodec;
      official b Lawt;b(Lawh;)Lcom/mojang/serialization/MapCodec;
    • method_72320

      public static class_11555 method_72320(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      named method_72320 Lnet/minecraft/class_11555;method_72320(II)Lnet/minecraft/class_11555;
      intermediary method_72320 Lnet/minecraft/class_11555;method_72320(II)Lnet/minecraft/class_11555;
      official a Lawt;a(II)Lawt;
    • method_72319

      public static class_11555 method_72319(int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_72319 Lnet/minecraft/class_11555;method_72319(I)Lnet/minecraft/class_11555;
      intermediary method_72319 Lnet/minecraft/class_11555;method_72319(I)Lnet/minecraft/class_11555;
      official a Lawt;a(I)Lawt;
    • method_72318

      public Range<class_11555> method_72318()
      Mappings:
      Namespace Name Mixin selector
      named method_72318 Lnet/minecraft/class_11555;method_72318()Lnet/minecraft/util/dynamic/Range;
      intermediary method_72318 Lnet/minecraft/class_11555;method_72318()Lnet/minecraft/class_6497;
      official a Lawt;a()Lbca;
    • compareTo

      public int compareTo(class_11555 class_11555)
      Specified by:
      compareTo in interface Comparable<class_11555>
      Mappings:
      Namespace Name Mixin selector
      named compareTo Lnet/minecraft/class_11555;compareTo(Lnet/minecraft/class_11555;)I
      intermediary method_72326 Lnet/minecraft/class_11555;method_72326(Lnet/minecraft/class_11555;)I
      official a Lawt;a(Lawt;)I
    • toString

      public String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • major

      public int major()
      Returns the value of the major record component.
      Returns:
      the value of the major record component
    • minor

      public int minor()
      Returns the value of the minor record component.
      Returns:
      the value of the minor record component