Record Class HangingSignModelRenderer.Unbaked
java.lang.Object
java.lang.Record
net.minecraft.client.render.item.model.special.HangingSignModelRenderer.Unbaked
- Record Components:
woodType
-texture
-
- All Implemented Interfaces:
SpecialModelRenderer.Unbaked
- Enclosing class:
HangingSignModelRenderer
@Environment(CLIENT)
public static record HangingSignModelRenderer.Unbaked(WoodType woodType, Optional<Identifier> texture)
extends Record
implements SpecialModelRenderer.Unbaked
- Mappings:
Namespace Name named net/minecraft/client/render/item/model/special/HangingSignModelRenderer$Unbaked
intermediary net/minecraft/class_10533$class_10534
official hds$a
named woodType
intermediary comp_3440
official b
named texture
intermediary comp_3441
official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<HangingSignModelRenderer.Unbaked> private final Optional
<Identifier> The field for thetexture
record component.private final WoodType
The field for thewoodType
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbake
(LoadedEntityModels entityModels) final boolean
Indicates whether some other object is "equal to" this one.com.mojang.serialization.MapCodec
<HangingSignModelRenderer.Unbaked> getCodec()
final int
hashCode()
Returns a hash code value for this object.texture()
Returns the value of thetexture
record component.final String
toString()
Returns a string representation of this record class.woodType()
Returns the value of thewoodType
record component.
-
Field Details
-
woodType
The field for thewoodType
record component. -
texture
The field for thetexture
record component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/client/render/item/model/special/HangingSignModelRenderer$Unbaked;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_55524
Lnet/minecraft/class_10533$class_10534;field_55524:Lcom/mojang/serialization/MapCodec;
official a
Lhds$a;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
Unbaked
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/item/model/special/HangingSignModelRenderer$Unbaked;<init>(Lnet/minecraft/block/WoodType;)V
intermediary <init>
Lnet/minecraft/class_10533$class_10534;<init>(Lnet/minecraft/class_4719;)V
official <init>
Lhds$a;<init>(Ldyk;)V
-
Unbaked
-
-
Method Details
-
getCodec
- Specified by:
getCodec
in interfaceSpecialModelRenderer.Unbaked
- Mappings:
Namespace Name Mixin selector named getCodec
Lnet/minecraft/client/render/item/model/special/SpecialModelRenderer$Unbaked;getCodec()Lcom/mojang/serialization/MapCodec;
intermediary method_65696
Lnet/minecraft/class_10515$class_10516;method_65696()Lcom/mojang/serialization/MapCodec;
official a
Lhdx$a;a()Lcom/mojang/serialization/MapCodec;
-
bake
- Specified by:
bake
in interfaceSpecialModelRenderer.Unbaked
- Mappings:
Namespace Name Mixin selector named bake
Lnet/minecraft/client/render/item/model/special/SpecialModelRenderer$Unbaked;bake(Lnet/minecraft/client/render/entity/model/LoadedEntityModels;)Lnet/minecraft/client/render/item/model/special/SpecialModelRenderer;
intermediary method_65698
Lnet/minecraft/class_10515$class_10516;method_65698(Lnet/minecraft/class_5599;)Lnet/minecraft/class_10515;
official a
Lhdx$a;a(Lgfa;)Lhdx;
-
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)
. -
woodType
Returns the value of thewoodType
record component.- Returns:
- the value of the
woodType
record component
-
texture
Returns the value of thetexture
record component.- Returns:
- the value of the
texture
record component
-