Package net.minecraft
Record Class class_10893.class_10894
java.lang.Object
java.lang.Record
net.minecraft.class_10893.class_10894
- Record Components:
variant-
- All Implemented Interfaces:
BakedModel.class_10892,ResolvableModel
- Enclosing class:
class_10893
@Environment(CLIENT)
public static record class_10893.class_10894(ModelVariant variant)
extends Record
implements BakedModel.class_10892
- Mappings:
Namespace Name named net/minecraft/class_10893$class_10894intermediary net/minecraft/class_10893$class_10894official gtu$anamed variantintermediary comp_3815official e
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.render.model.ResolvableModel
ResolvableModel.Resolver -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_10893.class_10894> private final ModelVariantThe field for thevariantrecord component.Fields inherited from interface net.minecraft.client.render.model.BakedModel.class_10892
field_57942, field_57943, field_57944 -
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.method_68521(Baker baker) voidresolve(ResolvableModel.Resolver resolver) final StringtoString()Returns a string representation of this record class.variant()Returns the value of thevariantrecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.client.render.model.BakedModel.class_10892
method_68515
-
Field Details
-
variant
The field for thevariantrecord component. -
field_57946
- Mappings:
Namespace Name Mixin selector named field_57946Lnet/minecraft/class_10893$class_10894;field_57946:Lcom/mojang/serialization/Codec;intermediary field_57946Lnet/minecraft/class_10893$class_10894;field_57946:Lcom/mojang/serialization/Codec;official dLgtu$a;d:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_10894
-
-
Method Details
-
method_68521
- Specified by:
method_68521in interfaceBakedModel.class_10892- Mappings:
Namespace Name Mixin selector named method_68521Lnet/minecraft/client/render/model/BakedModel$class_10892;method_68521(Lnet/minecraft/client/render/model/Baker;)Lnet/minecraft/client/render/model/BakedModel;intermediary method_68521Lnet/minecraft/class_1087$class_10892;method_68521(Lnet/minecraft/class_7775;)Lnet/minecraft/class_1087;official aLgtn$b;a(Lhnj;)Lgtn;
-
resolve
- Specified by:
resolvein interfaceResolvableModel- Mappings:
Namespace Name Mixin selector named resolveLnet/minecraft/client/render/model/ResolvableModel;resolve(Lnet/minecraft/client/render/model/ResolvableModel$Resolver;)Vintermediary method_62326Lnet/minecraft/class_10526;method_62326(Lnet/minecraft/class_10526$class_10103;)Vofficial aLhnr;a(Lhnr$a;)V
-
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). -
variant
Returns the value of thevariantrecord component.- Returns:
- the value of the
variantrecord component
-