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$aintermediary net/minecraft/class_2066$class_2068$class_8948named net/minecraft/advancement/criterion/InventoryChangedCriterion$Conditions$class_8948official cintermediary comp_2059named occupiedofficial dintermediary comp_2060named fullofficial eintermediary comp_2061named empty
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NumberRange.IntRangeThe field for theemptyrecord component.static final com.mojang.serialization.Codec<InventoryChangedCriterion.Conditions.class_8948>static final InventoryChangedCriterion.Conditions.class_8948private final NumberRange.IntRangeThe field for thefullrecord component.private final NumberRange.IntRangeThe field for theoccupiedrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8948(NumberRange.IntRange intRange, NumberRange.IntRange intRange2, NumberRange.IntRange intRange3) -
Method Summary
Modifier and TypeMethodDescriptionempty()Returns the value of theemptyrecord component.final booleanIndicates whether some other object is "equal to" this one.full()Returns the value of thefullrecord component.final inthashCode()Returns a hash code value for this object.booleanmethod_54998(int int2, int int3, int int4) occupied()Returns the value of theoccupiedrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
occupied
The field for theoccupiedrecord component. -
full
The field for thefullrecord component. -
empty
The field for theemptyrecord component. -
field_47264
public static final com.mojang.serialization.Codec<InventoryChangedCriterion.Conditions.class_8948> field_47264- Mappings:
Namespace Name Mixin selector official aLby$a$a;a:Lcom/mojang/serialization/Codec;intermediary field_47264Lnet/minecraft/class_2066$class_2068$class_8948;field_47264:Lcom/mojang/serialization/Codec;named field_47264Lnet/minecraft/advancement/criterion/InventoryChangedCriterion$Conditions$class_8948;field_47264:Lcom/mojang/serialization/Codec;
-
field_47265
- Mappings:
Namespace Name Mixin selector official bLby$a$a;b:Lby$a$a;intermediary field_47265Lnet/minecraft/class_2066$class_2068$class_8948;field_47265:Lnet/minecraft/class_2066$class_2068$class_8948;named field_47265Lnet/minecraft/advancement/criterion/InventoryChangedCriterion$Conditions$class_8948;field_47265:Lnet/minecraft/advancement/criterion/InventoryChangedCriterion$Conditions$class_8948;
-
-
Constructor Details
-
class_8948
public class_8948(NumberRange.IntRange intRange, NumberRange.IntRange intRange2, NumberRange.IntRange intRange3)
-
-
Method Details
-
method_54998
public boolean method_54998(int int2, int int3, int int4) - Mappings:
Namespace Name Mixin selector official aLby$a$a;a(III)Zintermediary method_54998Lnet/minecraft/class_2066$class_2068$class_8948;method_54998(III)Znamed method_54998Lnet/minecraft/advancement/criterion/InventoryChangedCriterion$Conditions$class_8948;method_54998(III)Z
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
occupied
Returns the value of theoccupiedrecord component.- Returns:
- the value of the
occupiedrecord component
-
full
Returns the value of thefullrecord component.- Returns:
- the value of the
fullrecord component
-
empty
Returns the value of theemptyrecord component.- Returns:
- the value of the
emptyrecord component
-