Record Class ModelBaker.BakedModels
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.ModelBaker.BakedModels
- Record Components:
missingModels
-blockStateModels
-itemStackModels
-itemProperties
-
- Enclosing class:
ModelBaker
@Environment(CLIENT)
public static record ModelBaker.BakedModels(ModelBaker.BlockItemModels missingModels, Map<BlockState,BlockStateModel> blockStateModels, Map<Identifier,ItemModel> itemStackModels, Map<Identifier,ItemAsset.Properties> itemProperties)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/model/ModelBaker$BakedModels
intermediary net/minecraft/class_1088$class_10524
official hub$a
named missingModels
intermediary comp_3770
official a
named blockStateModels
intermediary comp_3430
official b
named itemStackModels
intermediary comp_3432
official c
named itemProperties
intermediary comp_3472
official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map
<BlockState, BlockStateModel> The field for theblockStateModels
record component.private final Map
<Identifier, ItemAsset.Properties> The field for theitemProperties
record component.private final Map
<Identifier, ItemModel> The field for theitemStackModels
record component.private final ModelBaker.BlockItemModels
The field for themissingModels
record component. -
Constructor Summary
ConstructorsConstructorDescriptionBakedModels
(ModelBaker.BlockItemModels blockItemModels, Map<BlockState, BlockStateModel> map, Map<Identifier, ItemModel> map2, Map<Identifier, ItemAsset.Properties> map3) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theblockStateModels
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theitemProperties
record component.Returns the value of theitemStackModels
record component.Returns the value of themissingModels
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
missingModels
The field for themissingModels
record component. -
blockStateModels
The field for theblockStateModels
record component. -
itemStackModels
The field for theitemStackModels
record component. -
itemProperties
The field for theitemProperties
record component.
-
-
Constructor Details
-
BakedModels
public BakedModels(ModelBaker.BlockItemModels blockItemModels, Map<BlockState, BlockStateModel> map, Map<Identifier, ItemModel> map2, Map<Identifier, ItemAsset.Properties> map3)
-
-
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)
. -
missingModels
Returns the value of themissingModels
record component.- Returns:
- the value of the
missingModels
record component
-
blockStateModels
Returns the value of theblockStateModels
record component.- Returns:
- the value of the
blockStateModels
record component
-
itemStackModels
Returns the value of theitemStackModels
record component.- Returns:
- the value of the
itemStackModels
record component
-
itemProperties
Returns the value of theitemProperties
record component.- Returns:
- the value of the
itemProperties
record component
-