Record Class ShieldModelRenderer.Unbaked
java.lang.Object
java.lang.Record
net.minecraft.client.render.item.model.special.ShieldModelRenderer.Unbaked
- All Implemented Interfaces:
SpecialModelRenderer.Unbaked
- Enclosing class:
ShieldModelRenderer
@Environment(CLIENT)
public static record ShieldModelRenderer.Unbaked()
extends Record
implements SpecialModelRenderer.Unbaked
- Mappings:
Namespace Name named net/minecraft/client/render/item/model/special/ShieldModelRenderer$Unbakedintermediary net/minecraft/class_10509$class_10510official hjr$a
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<ShieldModelRenderer.Unbaked> static final ShieldModelRenderer.Unbaked -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbake(LoadedEntityModels entityModels) final booleanIndicates whether some other object is "equal to" this one.com.mojang.serialization.MapCodec<ShieldModelRenderer.Unbaked> getCodec()final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector named INSTANCELnet/minecraft/client/render/item/model/special/ShieldModelRenderer$Unbaked;INSTANCE:Lnet/minecraft/client/render/item/model/special/ShieldModelRenderer$Unbaked;intermediary field_55442Lnet/minecraft/class_10509$class_10510;field_55442:Lnet/minecraft/class_10509$class_10510;official aLhjr$a;a:Lhjr$a;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/render/item/model/special/ShieldModelRenderer$Unbaked;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_55443Lnet/minecraft/class_10509$class_10510;field_55443:Lcom/mojang/serialization/MapCodec;official bLhjr$a;b:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
Unbaked
public Unbaked()Creates an instance of aUnbakedrecord class.
-
-
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 aLhju$a;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/entity/model/LoadedEntityModels;)Lnet/minecraft/client/render/item/model/special/SpecialModelRenderer;intermediary method_65698Lnet/minecraft/class_10515$class_10516;method_65698(Lnet/minecraft/class_5599;)Lnet/minecraft/class_10515;official aLhju$a;a(Lgkn;)Lhju;
-
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.
-