Record Class SimpleBlockStateModel.Unbaked
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.SimpleBlockStateModel.Unbaked
- Record Components:
variant
-
- All Implemented Interfaces:
BlockStateModel.Unbaked
,ResolvableModel
- Enclosing class:
SimpleBlockStateModel
@Environment(CLIENT)
public static record SimpleBlockStateModel.Unbaked(ModelVariant variant)
extends Record
implements BlockStateModel.Unbaked
- Mappings:
Namespace Name named net/minecraft/client/render/model/SimpleBlockStateModel$Unbaked
intermediary net/minecraft/class_10893$class_10894
official gth$a
named variant
intermediary comp_3815
official 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
<SimpleBlockStateModel.Unbaked> private final ModelVariant
The field for thevariant
record component.Fields inherited from interface net.minecraft.client.render.model.BlockStateModel.Unbaked
WEIGHTED_CODEC, WEIGHTED_VARIANT_CODEC
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.void
resolve
(ResolvableModel.Resolver resolver) final String
toString()
Returns a string representation of this record class.variant()
Returns the value of thevariant
record component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.client.render.model.BlockStateModel.Unbaked
cached
-
Field Details
-
variant
The field for thevariant
record component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/client/render/model/SimpleBlockStateModel$Unbaked;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_57946
Lnet/minecraft/class_10893$class_10894;field_57946:Lcom/mojang/serialization/Codec;
official d
Lgth$a;d:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
Method Details
-
bake
- Specified by:
bake
in interfaceBlockStateModel.Unbaked
- Mappings:
Namespace Name Mixin selector named bake
Lnet/minecraft/client/render/model/BlockStateModel$Unbaked;bake(Lnet/minecraft/client/render/model/Baker;)Lnet/minecraft/client/render/model/BlockStateModel;
intermediary method_68521
Lnet/minecraft/class_1087$class_10892;method_68521(Lnet/minecraft/class_7775;)Lnet/minecraft/class_1087;
official a
Lgta$b;a(Lhmz;)Lgta;
-
resolve
- Specified by:
resolve
in interfaceResolvableModel
- Mappings:
Namespace Name Mixin selector named resolve
Lnet/minecraft/client/render/model/ResolvableModel;resolve(Lnet/minecraft/client/render/model/ResolvableModel$Resolver;)V
intermediary method_62326
Lnet/minecraft/class_10526;method_62326(Lnet/minecraft/class_10526$class_10103;)V
official a
Lhnh;a(Lhnh$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 thevariant
record component.- Returns:
- the value of the
variant
record component
-