Package net.minecraft
Record Class class_11435
java.lang.Object
java.lang.Record
net.minecraft.class_11435
- Record Components:
contents-width-
- All Implemented Interfaces:
class_11432
- Mappings:
Namespace Name named net/minecraft/class_11435intermediary net/minecraft/class_11435official asfnamed contentsintermediary comp_4330official fnamed widthintermediary comp_4331official g
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TextThe field for thecontentsrecord component.static final intstatic final com.mojang.serialization.MapCodec<class_11435> static final com.mojang.serialization.Codec<class_11435> private final intThe field for thewidthrecord component.Fields inherited from interface net.minecraft.class_11432
field_60637, field_60638 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontents()Returns the value of thecontentsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.com.mojang.serialization.MapCodec<class_11435> final StringtoString()Returns a string representation of this record class.intwidth()Returns the value of thewidthrecord component.
-
Field Details
-
contents
The field for thecontentsrecord component. -
width
private final int widthThe field for thewidthrecord component. -
field_60640
public static final int field_60640- See Also:
- Mappings:
Namespace Name Mixin selector named field_60640Lnet/minecraft/class_11435;field_60640:Iintermediary field_60640Lnet/minecraft/class_11435;field_60640:Iofficial cLasf;c:I
-
field_60641
- Mappings:
Namespace Name Mixin selector named field_60641Lnet/minecraft/class_11435;field_60641:Lcom/mojang/serialization/MapCodec;intermediary field_60641Lnet/minecraft/class_11435;field_60641:Lcom/mojang/serialization/MapCodec;official dLasf;d:Lcom/mojang/serialization/MapCodec;
-
field_60642
- Mappings:
Namespace Name Mixin selector named field_60642Lnet/minecraft/class_11435;field_60642:Lcom/mojang/serialization/Codec;intermediary field_60642Lnet/minecraft/class_11435;field_60642:Lcom/mojang/serialization/Codec;official eLasf;e:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_11435
-
-
Method Details
-
method_71711
- Specified by:
method_71711in interfaceclass_11432- Mappings:
Namespace Name Mixin selector named method_71711Lnet/minecraft/class_11432;method_71711()Lcom/mojang/serialization/MapCodec;intermediary method_71711Lnet/minecraft/class_11432;method_71711()Lcom/mojang/serialization/MapCodec;official aLasc;a()Lcom/mojang/serialization/MapCodec;
-
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 '=='. -
contents
Returns the value of thecontentsrecord component.- Returns:
- the value of the
contentsrecord component
-
width
public int width()Returns the value of thewidthrecord component.- Returns:
- the value of the
widthrecord component
-