Package net.minecraft
Record Class class_10498.class_10499
java.lang.Object
java.lang.Record
net.minecraft.class_10498.class_10499
- Record Components:
baseColor-
- All Implemented Interfaces:
class_10515.class_10516
- Enclosing class:
class_10498
@Environment(CLIENT)
public static record class_10498.class_10499(DyeColor baseColor)
extends Record
implements class_10515.class_10516
- Mappings:
Namespace Name named net/minecraft/class_10498$class_10499intermediary net/minecraft/class_10498$class_10499official hdf$anamed baseColorintermediary comp_3418official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DyeColorThe field for thebaseColorrecord component.static final com.mojang.serialization.MapCodec<class_10498.class_10499> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebaseColorrecord 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_10498.class_10499> class_10515<?> method_65698(EntityModelLoader entityModelLoader) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
baseColor
The field for thebaseColorrecord component. -
field_55425
- Mappings:
Namespace Name Mixin selector named field_55425Lnet/minecraft/class_10498$class_10499;field_55425:Lcom/mojang/serialization/MapCodec;intermediary field_55425Lnet/minecraft/class_10498$class_10499;field_55425:Lcom/mojang/serialization/MapCodec;official aLhdf$a;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_10499
-
-
Method Details
-
method_65696
- Specified by:
method_65696in interfaceclass_10515.class_10516- Mappings:
Namespace Name Mixin selector named method_65696Lnet/minecraft/class_10515$class_10516;method_65696()Lcom/mojang/serialization/MapCodec;intermediary method_65696Lnet/minecraft/class_10515$class_10516;method_65696()Lcom/mojang/serialization/MapCodec;official aLhdo$a;a()Lcom/mojang/serialization/MapCodec;
-
method_65698
- Specified by:
method_65698in interfaceclass_10515.class_10516- Mappings:
Namespace Name Mixin selector named method_65698Lnet/minecraft/class_10515$class_10516;method_65698(Lnet/minecraft/client/render/entity/model/EntityModelLoader;)Lnet/minecraft/class_10515;intermediary method_65698Lnet/minecraft/class_10515$class_10516;method_65698(Lnet/minecraft/class_5599;)Lnet/minecraft/class_10515;official aLhdo$a;a(Lgey;)Lhdo;
-
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). -
baseColor
Returns the value of thebaseColorrecord component.- Returns:
- the value of the
baseColorrecord component
-