Record Class EmptyModel.Unbaked
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.item.EmptyModel.Unbaked
- All Implemented Interfaces:
ItemModel.Unbaked, ResolvableModel
- Enclosing class:
EmptyModel
-
Nested Class Summary
Nested classes/interfaces inherited from interface ResolvableModel
ResolvableModel.Resolver -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<EmptyModel.Unbaked> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbake(ItemModel.BakingContext context) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.voidresolveDependencies(ResolvableModel.Resolver resolver) final StringtoString()Returns a string representation of this record class.com.mojang.serialization.MapCodec<EmptyModel.Unbaked> type()
-
Field Details
-
MAP_CODEC
-
-
Constructor Details
-
Unbaked
public Unbaked()Creates an instance of aUnbakedrecord class.
-
-
Method Details
-
resolveDependencies
- Specified by:
resolveDependenciesin interfaceResolvableModel
-
bake
- Specified by:
bakein interfaceItemModel.Unbaked
-
type
- Specified by:
typein interfaceItemModel.Unbaked
-
toString
-
hashCode
-
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.
-