Record Class InventoryChangedCriterion.Conditions.class_8948

java.lang.Object
java.lang.Record
net.minecraft.advancement.criterion.InventoryChangedCriterion.Conditions.class_8948
Record Components:
occupied -
full -
empty -
Enclosing class:
InventoryChangedCriterion.Conditions

public static record InventoryChangedCriterion.Conditions.class_8948(NumberRange.IntRange occupied, NumberRange.IntRange full, NumberRange.IntRange empty) extends Record
Mappings:
Namespace Name
official by$a$a
intermediary net/minecraft/class_2066$class_2068$class_8948
named net/minecraft/advancement/criterion/InventoryChangedCriterion$Conditions$class_8948
official c
intermediary comp_2059
named occupied
official d
intermediary comp_2060
named full
official e
intermediary comp_2061
named empty
  • Field Details

    • occupied

      private final NumberRange.IntRange occupied
      The field for the occupied record component.
    • full

      private final NumberRange.IntRange full
      The field for the full record component.
    • empty

      private final NumberRange.IntRange empty
      The field for the empty record component.
    • field_47264

      public static final com.mojang.serialization.Codec<InventoryChangedCriterion.Conditions.class_8948> field_47264
      Mappings:
      Namespace Name Mixin selector
      official a Lby$a$a;a:Lcom/mojang/serialization/Codec;
      intermediary field_47264 Lnet/minecraft/class_2066$class_2068$class_8948;field_47264:Lcom/mojang/serialization/Codec;
      named field_47264 Lnet/minecraft/advancement/criterion/InventoryChangedCriterion$Conditions$class_8948;field_47264:Lcom/mojang/serialization/Codec;
    • field_47265

      public static final InventoryChangedCriterion.Conditions.class_8948 field_47265
      Mappings:
      Namespace Name Mixin selector
      official b Lby$a$a;b:Lby$a$a;
      intermediary field_47265 Lnet/minecraft/class_2066$class_2068$class_8948;field_47265:Lnet/minecraft/class_2066$class_2068$class_8948;
      named field_47265 Lnet/minecraft/advancement/criterion/InventoryChangedCriterion$Conditions$class_8948;field_47265:Lnet/minecraft/advancement/criterion/InventoryChangedCriterion$Conditions$class_8948;
  • Constructor Details

  • Method Details

    • method_54998

      public boolean method_54998(int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official a Lby$a$a;a(III)Z
      intermediary method_54998 Lnet/minecraft/class_2066$class_2068$class_8948;method_54998(III)Z
      named method_54998 Lnet/minecraft/advancement/criterion/InventoryChangedCriterion$Conditions$class_8948;method_54998(III)Z
    • toString

      public final 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 Objects::equals(Object,Object).
      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.
    • occupied

      public NumberRange.IntRange occupied()
      Returns the value of the occupied record component.
      Returns:
      the value of the occupied record component
    • full

      public NumberRange.IntRange full()
      Returns the value of the full record component.
      Returns:
      the value of the full record component
    • empty

      public NumberRange.IntRange empty()
      Returns the value of the empty record component.
      Returns:
      the value of the empty record component