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$Unbakedintermediary net/minecraft/class_10455$class_10456official hhn$anamed baseintermediary comp_3405official bnamed specialModelintermediary comp_3406official c
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.render.model.ResolvableModel
ResolvableModel.Resolver -
Field Summary
FieldsModifier 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 Summary
Constructors -
Method Summary
Modifier 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()private ModelSettingsgetSettings(ItemModel.BakeContext context) 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
-
base
The field for thebaserecord component. -
specialModel
The field for thespecialModelrecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/render/item/model/SpecialItemModel$Unbaked;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_55368Lnet/minecraft/class_10455$class_10456;field_55368:Lcom/mojang/serialization/MapCodec;official aLhhn$a;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
Unbaked
-
-
Method Details
-
resolve
- Specified by:
resolvein interfaceResolvableModel- Mappings:
Namespace Name Mixin selector named resolveLnet/minecraft/client/render/model/ResolvableModel;resolve(Lnet/minecraft/client/render/model/ResolvableModel$Resolver;)Vintermediary method_62326Lnet/minecraft/class_10526;method_62326(Lnet/minecraft/class_10526$class_10103;)Vofficial aLhnh;a(Lhnh$a;)V
-
bake
- Specified by:
bakein interfaceItemModel.Unbaked- Mappings:
Namespace Name Mixin selector named bakeLnet/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_65587Lnet/minecraft/class_10439$class_10441;method_65587(Lnet/minecraft/class_10439$class_10440;)Lnet/minecraft/class_10439;official aLhhf$b;a(Lhhf$a;)Lhhf;
-
getSettings
- Mappings:
Namespace Name Mixin selector named getSettingsLnet/minecraft/client/render/item/model/SpecialItemModel$Unbaked;getSettings(Lnet/minecraft/client/render/item/model/ItemModel$BakeContext;)Lnet/minecraft/client/render/model/ModelSettings;intermediary method_68003Lnet/minecraft/class_10455$class_10456;method_68003(Lnet/minecraft/class_10439$class_10440;)Lnet/minecraft/class_10809;official bLhhn$a;b(Lhhf$a;)Lhhk;
-
getCodec
- Specified by:
getCodecin interfaceItemModel.Unbaked- Mappings:
Namespace Name Mixin selector named getCodecLnet/minecraft/client/render/item/model/ItemModel$Unbaked;getCodec()Lcom/mojang/serialization/MapCodec;intermediary method_65585Lnet/minecraft/class_10439$class_10441;method_65585()Lcom/mojang/serialization/MapCodec;official aLhhf$b;a()Lcom/mojang/serialization/MapCodec;
-
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). -
base
Returns the value of thebaserecord component.- Returns:
- the value of the
baserecord component
-
specialModel
Returns the value of thespecialModelrecord component.- Returns:
- the value of the
specialModelrecord component
-