Package net.minecraft
Record Class class_9368.class_9372
java.lang.Object
java.lang.Record
net.minecraft.class_9368.class_9372
- Record Components:
offset-size-
- All Implemented Interfaces:
class_9368
- Enclosing interface:
class_9368
public static record class_9368.class_9372(int offset, Optional<Integer> size)
extends Record
implements class_9368
- Mappings:
Namespace Name official epn$dintermediary net/minecraft/class_9368$class_9372named net/minecraft/class_9368$class_9372official bintermediary comp_2464named offsetofficial cintermediary comp_2465named size
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_9368
class_9368.class_9369, class_9368.class_9370, class_9368.class_9371, class_9368.class_9372, class_9368.class_9373 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<class_9368.class_9372> private static final Loggerprivate final intThe field for theoffsetrecord component.The field for thesizerecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.<T> List<T> method_58192(List<T> list, List<T> list2, int int2) intoffset()Returns the value of theoffsetrecord component.size()Returns the value of thesizerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
offset
private final int offsetThe field for theoffsetrecord component. -
size
The field for thesizerecord component. -
field_49855
- Mappings:
Namespace Name Mixin selector official dLepn$d;d:Lorg/slf4j/Logger;intermediary field_49855Lnet/minecraft/class_9368$class_9372;field_49855:Lorg/slf4j/Logger;named field_49855Lnet/minecraft/class_9368$class_9372;field_49855:Lorg/slf4j/Logger;
-
field_49854
- Mappings:
Namespace Name Mixin selector official aLepn$d;a:Lcom/mojang/serialization/MapCodec;intermediary field_49854Lnet/minecraft/class_9368$class_9372;field_49854:Lcom/mojang/serialization/MapCodec;named field_49854Lnet/minecraft/class_9368$class_9372;field_49854:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_9372
public class_9372(int int2) -
class_9372
-
-
Method Details
-
method_58191
- Specified by:
method_58191in interfaceclass_9368- Mappings:
Namespace Name Mixin selector official aLepn;a()Lepn$e;intermediary method_58191Lnet/minecraft/class_9368;method_58191()Lnet/minecraft/class_9368$class_9373;named method_58191Lnet/minecraft/class_9368;method_58191()Lnet/minecraft/class_9368$class_9373;
-
method_58192
- Specified by:
method_58192in interfaceclass_9368- Mappings:
Namespace Name Mixin selector official aLepn;a(Ljava/util/List;Ljava/util/List;I)Ljava/util/List;intermediary method_58192Lnet/minecraft/class_9368;method_58192(Ljava/util/List;Ljava/util/List;I)Ljava/util/List;named method_58192Lnet/minecraft/class_9368;method_58192(Ljava/util/List;Ljava/util/List;I)Ljava/util/List;
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
offset
public int offset()Returns the value of theoffsetrecord component.- Returns:
- the value of the
offsetrecord component
-
size
Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-