Record Class SpecialItemModel.Unbaked
java.lang.Object
java.lang.Record
net.minecraft.client.render.item.model.SpecialItemModel.Unbaked
- Record Components:
- base-
- specialModel-
- All Implemented Interfaces:
- ItemModel.Unbaked,- ResolvableModel
- Enclosing class:
- SpecialItemModel<T>
@Environment(CLIENT)
public static record SpecialItemModel.Unbaked(Identifier base, SpecialModelRenderer.Unbaked specialModel)
extends Record
implements ItemModel.Unbaked
- Mappings:
- Namespace - Name - named - net/minecraft/client/render/item/model/SpecialItemModel$Unbaked- intermediary - net/minecraft/class_10455$class_10456- official - hbt$a- named - base- intermediary - comp_3405- official - b- named - specialModel- intermediary - comp_3406- official - c
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.client.render.model.ResolvableModelResolvableModel.Resolver
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final IdentifierThe field for thebaserecord component.static final com.mojang.serialization.MapCodec<SpecialItemModel.Unbaked> private final SpecialModelRenderer.UnbakedThe field for thespecialModelrecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbake(ItemModel.BakeContext context) base()Returns the value of thebaserecord component.final booleanIndicates whether some other object is "equal to" this one.com.mojang.serialization.MapCodec<SpecialItemModel.Unbaked> getCodec()final inthashCode()Returns a hash code value for this object.voidresolve(ResolvableModel.Resolver resolver) Returns the value of thespecialModelrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
baseThe field for thebaserecord component.
- 
specialModelThe field for thespecialModelrecord component.
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/client/render/item/model/SpecialItemModel$Unbaked;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_55368- Lnet/minecraft/class_10455$class_10456;field_55368:Lcom/mojang/serialization/MapCodec;- official - a- Lhbt$a;a:Lcom/mojang/serialization/MapCodec;
 
 
- 
- 
Constructor Details- 
Unbaked
 
- 
- 
Method Details- 
resolve- Specified by:
- resolvein interface- ResolvableModel
- Mappings:
- Namespace - Name - Mixin selector - named - resolve- Lnet/minecraft/client/render/model/ResolvableModel;resolve(Lnet/minecraft/client/render/model/ResolvableModel$Resolver;)V- intermediary - method_62326- Lnet/minecraft/class_10526;method_62326(Lnet/minecraft/class_10526$class_10103;)V- official - a- Lhhl;a(Lhhl$a;)V
 
- 
bake- Specified by:
- bakein interface- ItemModel.Unbaked
- Mappings:
- Namespace - Name - Mixin selector - named - bake- Lnet/minecraft/client/render/item/model/ItemModel$Unbaked;bake(Lnet/minecraft/client/render/item/model/ItemModel$BakeContext;)Lnet/minecraft/client/render/item/model/ItemModel;- intermediary - method_65587- Lnet/minecraft/class_10439$class_10441;method_65587(Lnet/minecraft/class_10439$class_10440;)Lnet/minecraft/class_10439;- official - a- Lhbm$b;a(Lhbm$a;)Lhbm;
 
- 
getCodec- Specified by:
- getCodecin interface- ItemModel.Unbaked
- Mappings:
- Namespace - Name - Mixin selector - named - getCodec- Lnet/minecraft/client/render/item/model/ItemModel$Unbaked;getCodec()Lcom/mojang/serialization/MapCodec;- intermediary - method_65585- Lnet/minecraft/class_10439$class_10441;method_65585()Lcom/mojang/serialization/MapCodec;- official - a- Lhbm$b;a()Lcom/mojang/serialization/MapCodec;
 
- 
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).
- 
baseReturns the value of thebaserecord component.- Returns:
- the value of the baserecord component
 
- 
specialModelReturns the value of thespecialModelrecord component.- Returns:
- the value of the specialModelrecord component
 
 
-