Record Class StandaloneModelLoader.BakedModels
java.lang.Object
java.lang.Record
net.neoforged.neoforge.client.model.standalone.StandaloneModelLoader.BakedModels
- Enclosing class:
StandaloneModelLoader
public static record StandaloneModelLoader.BakedModels(Map<StandaloneModelKey<?>, ?> models)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StandaloneModelLoader.BakedModelsprivate final Map<StandaloneModelKey<?>, ?> The field for themodelsrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionBakedModels(Map<StandaloneModelKey<?>, ?> models) Creates an instance of aBakedModelsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.<T> @Nullable Tget(StandaloneModelKey<T> key) final inthashCode()Returns a hash code value for this object.Map<StandaloneModelKey<?>, ?> models()Returns the value of themodelsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
models
The field for themodelsrecord component. -
EMPTY
-
-
Constructor Details
-
BakedModels
Creates an instance of aBakedModelsrecord class.- Parameters:
models- the value for themodelsrecord component
-
-
Method Details
-
get
-
unmodifiable
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
models
Returns the value of themodelsrecord component.- Returns:
- the value of the
modelsrecord component
-