Record Class CompositeItemModel.Unbaked
java.lang.Object
java.lang.Record
net.minecraft.client.render.item.model.CompositeItemModel.Unbaked
- Record Components:
models
-
- All Implemented Interfaces:
ItemModel.Unbaked
,ResolvableModel
- Enclosing class:
CompositeItemModel
@Environment(CLIENT)
public static record CompositeItemModel.Unbaked(List<ItemModel.Unbaked> models)
extends Record
implements ItemModel.Unbaked
- Mappings:
Namespace Name named net/minecraft/client/render/item/model/CompositeItemModel$Unbaked
intermediary net/minecraft/class_10435$class_10436
official hbj$a
named models
intermediary comp_3386
official b
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.render.model.ResolvableModel
ResolvableModel.Resolver
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<CompositeItemModel.Unbaked> private final List
<ItemModel.Unbaked> The field for themodels
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbake
(ItemModel.BakeContext context) final boolean
Indicates whether some other object is "equal to" this one.com.mojang.serialization.MapCodec
<CompositeItemModel.Unbaked> getCodec()
final int
hashCode()
Returns a hash code value for this object.models()
Returns the value of themodels
record component.void
resolve
(ResolvableModel.Resolver resolver) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
models
The field for themodels
record component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/client/render/item/model/CompositeItemModel$Unbaked;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_55329
Lnet/minecraft/class_10435$class_10436;field_55329:Lcom/mojang/serialization/MapCodec;
official a
Lhbj$a;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
Method Details
-
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;
-
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;
-
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)
. -
models
Returns the value of themodels
record component.- Returns:
- the value of the
models
record component
-