Record Class BakedModelManager.BakingResult
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.BakedModelManager.BakingResult
- Record Components:
bakedModels-modelGroups-modelCache-atlasPreparations-entityModelSet-specialBlockModelRenderer-readyForUpload-
- Enclosing class:
BakedModelManager
@Environment(CLIENT)
private static record BakedModelManager.BakingResult(ModelBaker.BakedModels bakedModels, Object2IntMap<BlockState> modelGroups, Map<BlockState,BakedModel> modelCache, Map<Identifier,SpriteAtlasManager.AtlasPreparation> atlasPreparations, LoadedEntityModels entityModelSet, LoadedBlockEntityModels specialBlockModelRenderer, CompletableFuture<Void> readyForUpload)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/model/BakedModelManager$BakingResultintermediary net/minecraft/class_1092$class_7779official hhh$anamed bakedModelsintermediary comp_3433official anamed modelGroupsintermediary comp_3066official bnamed modelCacheintermediary comp_1060official cnamed atlasPreparationsintermediary comp_1061official dnamed entityModelSetintermediary comp_3434official enamed specialBlockModelRendererintermediary comp_3435official fnamed readyForUploadintermediary comp_1062official g
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<Identifier, SpriteAtlasManager.AtlasPreparation> The field for theatlasPreparationsrecord component.private final ModelBaker.BakedModelsThe field for thebakedModelsrecord component.private final LoadedEntityModelsThe field for theentityModelSetrecord component.private final Map<BlockState, BakedModel> The field for themodelCacherecord component.private final Object2IntMap<BlockState> The field for themodelGroupsrecord component.private final CompletableFuture<Void> The field for thereadyForUploadrecord component.private final LoadedBlockEntityModelsThe field for thespecialBlockModelRendererrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionBakingResult(ModelBaker.BakedModels bakedModels, Object2IntMap<BlockState> object2IntMap, Map<BlockState, BakedModel> map, Map<Identifier, SpriteAtlasManager.AtlasPreparation> map2, LoadedEntityModels loadedEntityModels, LoadedBlockEntityModels loadedBlockEntityModels, CompletableFuture<Void> completableFuture) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theatlasPreparationsrecord component.Returns the value of thebakedModelsrecord component.Returns the value of theentityModelSetrecord 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 themodelCacherecord component.Returns the value of themodelGroupsrecord component.Returns the value of thereadyForUploadrecord component.Returns the value of thespecialBlockModelRendererrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
bakedModels
The field for thebakedModelsrecord component. -
modelGroups
The field for themodelGroupsrecord component. -
modelCache
The field for themodelCacherecord component. -
atlasPreparations
The field for theatlasPreparationsrecord component. -
entityModelSet
The field for theentityModelSetrecord component. -
specialBlockModelRenderer
The field for thespecialBlockModelRendererrecord component. -
readyForUpload
The field for thereadyForUploadrecord component.
-
-
Constructor Details
-
BakingResult
BakingResult(ModelBaker.BakedModels bakedModels, Object2IntMap<BlockState> object2IntMap, Map<BlockState, BakedModel> map, Map<Identifier, SpriteAtlasManager.AtlasPreparation> map2, LoadedEntityModels loadedEntityModels, LoadedBlockEntityModels loadedBlockEntityModels, CompletableFuture<Void> completableFuture)
-
-
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). -
bakedModels
Returns the value of thebakedModelsrecord component.- Returns:
- the value of the
bakedModelsrecord component
-
modelGroups
Returns the value of themodelGroupsrecord component.- Returns:
- the value of the
modelGroupsrecord component
-
modelCache
Returns the value of themodelCacherecord component.- Returns:
- the value of the
modelCacherecord component
-
atlasPreparations
Returns the value of theatlasPreparationsrecord component.- Returns:
- the value of the
atlasPreparationsrecord component
-
entityModelSet
Returns the value of theentityModelSetrecord component.- Returns:
- the value of the
entityModelSetrecord component
-
specialBlockModelRenderer
Returns the value of thespecialBlockModelRendererrecord component.- Returns:
- the value of the
specialBlockModelRendererrecord component
-
readyForUpload
Returns the value of thereadyForUploadrecord component.- Returns:
- the value of the
readyForUploadrecord component
-