Record Class ChestModelRenderer.Unbaked
java.lang.Object
java.lang.Record
net.minecraft.client.render.item.model.special.ChestModelRenderer.Unbaked
- Record Components:
- texture-
- openness-
- All Implemented Interfaces:
- SpecialModelRenderer.Unbaked
- Enclosing class:
- ChestModelRenderer
@Environment(CLIENT)
public static record ChestModelRenderer.Unbaked(Identifier texture, float openness)
extends Record
implements SpecialModelRenderer.Unbaked
- Mappings:
- Namespace - Name - named - net/minecraft/client/render/item/model/special/ChestModelRenderer$Unbaked- intermediary - net/minecraft/class_10502$class_10503- official - hdp$a- named - texture- intermediary - comp_3420- official - b- named - openness- intermediary - comp_3421- official - c
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<ChestModelRenderer.Unbaked> private final floatThe field for theopennessrecord component.private final IdentifierThe field for thetexturerecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbake(LoadedEntityModels entityModels) final booleanIndicates whether some other object is "equal to" this one.com.mojang.serialization.MapCodec<ChestModelRenderer.Unbaked> getCodec()final inthashCode()Returns a hash code value for this object.floatopenness()Returns the value of theopennessrecord component.texture()Returns the value of thetexturerecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
textureThe field for thetexturerecord component.
- 
opennessprivate final float opennessThe field for theopennessrecord component.
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/client/render/item/model/special/ChestModelRenderer$Unbaked;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_55436- Lnet/minecraft/class_10502$class_10503;field_55436:Lcom/mojang/serialization/MapCodec;- official - a- Lhdp$a;a:Lcom/mojang/serialization/MapCodec;
 
 
- 
- 
Constructor Details- 
Unbaked- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/render/item/model/special/ChestModelRenderer$Unbaked;<init>(Lnet/minecraft/util/Identifier;)V- intermediary - <init>- Lnet/minecraft/class_10502$class_10503;<init>(Lnet/minecraft/class_2960;)V- official - <init>- Lhdp$a;<init>(Lakv;)V
 
- 
Unbaked
 
- 
- 
Method Details- 
getCodec- Specified by:
- getCodecin interface- SpecialModelRenderer.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:
- bakein interface- SpecialModelRenderer.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;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
textureReturns the value of thetexturerecord component.- Returns:
- the value of the texturerecord component
 
- 
opennesspublic float openness()Returns the value of theopennessrecord component.- Returns:
- the value of the opennessrecord component
 
 
-