Record Class CopperGolemStatueModelRenderer.Unbaked
java.lang.Object
java.lang.Record
net.minecraft.client.render.item.model.special.CopperGolemStatueModelRenderer.Unbaked
- Record Components:
texture-pose-
- All Implemented Interfaces:
SpecialModelRenderer.Unbaked
- Enclosing class:
CopperGolemStatueModelRenderer
@Environment(CLIENT)
public static record CopperGolemStatueModelRenderer.Unbaked(Identifier texture, CopperGolemStatueBlock.Pose pose)
extends Record
implements SpecialModelRenderer.Unbaked
- Mappings:
Namespace Name named net/minecraft/client/render/item/model/special/CopperGolemStatueModelRenderer$Unbakedintermediary net/minecraft/class_11693$class_11694official iaz$anamed textureintermediary comp_4552official bnamed poseintermediary comp_4819official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<CopperGolemStatueModelRenderer.Unbaked> private final CopperGolemStatueBlock.PoseThe field for theposerecord component.private final IdentifierThe field for thetexturerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionUnbaked(Oxidizable.OxidationLevel oxidationLevel, CopperGolemStatueBlock.Pose pose) Unbaked(Identifier identifier, CopperGolemStatueBlock.Pose pose) -
Method Summary
Modifier and TypeMethodDescriptionbake(SpecialModelRenderer.BakeContext context) final booleanIndicates whether some other object is "equal to" this one.com.mojang.serialization.MapCodec<CopperGolemStatueModelRenderer.Unbaked> getCodec()final inthashCode()Returns a hash code value for this object.pose()Returns the value of theposerecord component.texture()Returns the value of thetexturerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
texture
The field for thetexturerecord component. -
pose
The field for theposerecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/render/item/model/special/CopperGolemStatueModelRenderer$Unbaked;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_61856Lnet/minecraft/class_11693$class_11694;field_61856:Lcom/mojang/serialization/MapCodec;official aLiaz$a;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
Unbaked
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/item/model/special/CopperGolemStatueModelRenderer$Unbaked;<init>(Lnet/minecraft/block/Oxidizable$OxidationLevel;Lnet/minecraft/block/CopperGolemStatueBlock$Pose;)Vintermediary <init>Lnet/minecraft/class_11693$class_11694;<init>(Lnet/minecraft/class_5955$class_5811;Lnet/minecraft/class_11583$class_11584;)Vofficial <init>Liaz$a;<init>(Leev$a;Ldwm$a;)V
-
Unbaked
-
-
Method Details
-
getCodec
- Specified by:
getCodecin interfaceSpecialModelRenderer.Unbaked- Mappings:
Namespace Name Mixin selector named getCodecLnet/minecraft/client/render/item/model/special/SpecialModelRenderer$Unbaked;getCodec()Lcom/mojang/serialization/MapCodec;intermediary method_65696Lnet/minecraft/class_10515$class_10516;method_65696()Lcom/mojang/serialization/MapCodec;official aLibh$b;a()Lcom/mojang/serialization/MapCodec;
-
bake
- Specified by:
bakein interfaceSpecialModelRenderer.Unbaked- Mappings:
Namespace Name Mixin selector named bakeLnet/minecraft/client/render/item/model/special/SpecialModelRenderer$Unbaked;bake(Lnet/minecraft/client/render/item/model/special/SpecialModelRenderer$BakeContext;)Lnet/minecraft/client/render/item/model/special/SpecialModelRenderer;intermediary method_65698Lnet/minecraft/class_10515$class_10516;method_65698(Lnet/minecraft/class_10515$class_11695;)Lnet/minecraft/class_10515;official aLibh$b;a(Libh$a;)Libh;
-
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). -
texture
Returns the value of thetexturerecord component.- Returns:
- the value of the
texturerecord component
-
pose
Returns the value of theposerecord component.- Returns:
- the value of the
poserecord component
-