Record Class BannerModelRenderer.Unbaked
java.lang.Object
java.lang.Record
net.minecraft.client.render.item.model.special.BannerModelRenderer.Unbaked
- Record Components:
- baseColor-
- All Implemented Interfaces:
- SpecialModelRenderer.Unbaked
- Enclosing class:
- BannerModelRenderer
@Environment(CLIENT)
public static record BannerModelRenderer.Unbaked(DyeColor baseColor)
extends Record
implements SpecialModelRenderer.Unbaked
- Mappings:
- Namespace - Name - named - net/minecraft/client/render/item/model/special/BannerModelRenderer$Unbaked- intermediary - net/minecraft/class_10498$class_10499- official - hdn$a- named - baseColor- intermediary - comp_3418- official - b
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final DyeColorThe field for thebaseColorrecord component.static final com.mojang.serialization.MapCodec<BannerModelRenderer.Unbaked> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbake(LoadedEntityModels entityModels) Returns the value of thebaseColorrecord component.final booleanIndicates whether some other object is "equal to" this one.com.mojang.serialization.MapCodec<BannerModelRenderer.Unbaked> getCodec()final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
baseColorThe field for thebaseColorrecord component.
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/client/render/item/model/special/BannerModelRenderer$Unbaked;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_55425- Lnet/minecraft/class_10498$class_10499;field_55425:Lcom/mojang/serialization/MapCodec;- official - a- Lhdn$a;a:Lcom/mojang/serialization/MapCodec;
 
 
- 
- 
Constructor Details- 
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. All components in this record class are compared withObjects::equals(Object,Object).
- 
baseColorReturns the value of thebaseColorrecord component.- Returns:
- the value of the baseColorrecord component
 
 
-