Record Class ModelBaker.class_10524
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.ModelBaker.class_10524
- Record Components:
missingModel-blockStateModels-missingItemModel-itemStackModels-
- Enclosing class:
ModelBaker
@Environment(CLIENT)
public static record ModelBaker.class_10524(BakedModel missingModel, Map<ModelIdentifier,BakedModel> blockStateModels, class_10439 missingItemModel, Map<Identifier,class_10439> itemStackModels)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/model/ModelBaker$class_10524intermediary net/minecraft/class_1088$class_10524official hgv$bnamed missingModelintermediary comp_3429official anamed blockStateModelsintermediary comp_3430official bnamed missingItemModelintermediary comp_3431official cnamed itemStackModelsintermediary comp_3432official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<ModelIdentifier, BakedModel> The field for theblockStateModelsrecord component.private final Map<Identifier, class_10439> The field for theitemStackModelsrecord component.private final class_10439The field for themissingItemModelrecord component.private final BakedModelThe field for themissingModelrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10524(BakedModel bakedModel, Map<ModelIdentifier, BakedModel> map, class_10439 class_10439, Map<Identifier, class_10439> map2) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theblockStateModelsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theitemStackModelsrecord component.Returns the value of themissingItemModelrecord component.Returns the value of themissingModelrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
missingModel
The field for themissingModelrecord component. -
blockStateModels
The field for theblockStateModelsrecord component. -
missingItemModel
The field for themissingItemModelrecord component. -
itemStackModels
The field for theitemStackModelsrecord component.
-
-
Constructor Details
-
class_10524
public class_10524(BakedModel bakedModel, Map<ModelIdentifier, BakedModel> map, class_10439 class_10439, Map<Identifier, class_10439> map2)
-
-
Method Details
-
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). -
missingModel
Returns the value of themissingModelrecord component.- Returns:
- the value of the
missingModelrecord component
-
blockStateModels
Returns the value of theblockStateModelsrecord component.- Returns:
- the value of the
blockStateModelsrecord component
-
missingItemModel
Returns the value of themissingItemModelrecord component.- Returns:
- the value of the
missingItemModelrecord component
-
itemStackModels
Returns the value of theitemStackModelsrecord component.- Returns:
- the value of the
itemStackModelsrecord component
-