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 Summary
Nested classes/interfaces inherited from interface net.minecraft.client.render.model.ResolvableModel
ResolvableModel.Resolver
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Identifier
The field for thebase
record component.static final com.mojang.serialization.MapCodec
<SpecialItemModel.Unbaked> private final SpecialModelRenderer.Unbaked
The field for thespecialModel
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbake
(ItemModel.BakeContext context) base()
Returns the value of thebase
record component.final boolean
Indicates whether some other object is "equal to" this one.com.mojang.serialization.MapCodec
<SpecialItemModel.Unbaked> getCodec()
final int
hashCode()
Returns a hash code value for this object.void
resolve
(ResolvableModel.Resolver resolver) Returns the value of thespecialModel
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
base
The field for thebase
record component. -
specialModel
The field for thespecialModel
record 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
-
Method Details
-
resolve
- Specified by:
resolve
in interfaceResolvableModel
- 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:
bake
in interfaceItemModel.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:
getCodec
in interfaceItemModel.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;
-
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 thebase
record component.- Returns:
- the value of the
base
record component
-
specialModel
Returns the value of thespecialModel
record component.- Returns:
- the value of the
specialModel
record component
-