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$BakingResult
intermediary net/minecraft/class_1092$class_7779
official hhh$a
named bakedModels
intermediary comp_3433
official a
named modelGroups
intermediary comp_3066
official b
named modelCache
intermediary comp_1060
official c
named atlasPreparations
intermediary comp_1061
official d
named entityModelSet
intermediary comp_3434
official e
named specialBlockModelRenderer
intermediary comp_3435
official f
named readyForUpload
intermediary comp_1062
official g
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map
<Identifier, SpriteAtlasManager.AtlasPreparation> The field for theatlasPreparations
record component.private final ModelBaker.BakedModels
The field for thebakedModels
record component.private final LoadedEntityModels
The field for theentityModelSet
record component.private final Map
<BlockState, BakedModel> The field for themodelCache
record component.private final Object2IntMap
<BlockState> The field for themodelGroups
record component.private final CompletableFuture
<Void> The field for thereadyForUpload
record component.private final LoadedBlockEntityModels
The field for thespecialBlockModelRenderer
record 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 theatlasPreparations
record component.Returns the value of thebakedModels
record component.Returns the value of theentityModelSet
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 themodelCache
record component.Returns the value of themodelGroups
record component.Returns the value of thereadyForUpload
record component.Returns the value of thespecialBlockModelRenderer
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
bakedModels
The field for thebakedModels
record component. -
modelGroups
The field for themodelGroups
record component. -
modelCache
The field for themodelCache
record component. -
atlasPreparations
The field for theatlasPreparations
record component. -
entityModelSet
The field for theentityModelSet
record component. -
specialBlockModelRenderer
The field for thespecialBlockModelRenderer
record component. -
readyForUpload
The field for thereadyForUpload
record 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 thebakedModels
record component.- Returns:
- the value of the
bakedModels
record component
-
modelGroups
Returns the value of themodelGroups
record component.- Returns:
- the value of the
modelGroups
record component
-
modelCache
Returns the value of themodelCache
record component.- Returns:
- the value of the
modelCache
record component
-
atlasPreparations
Returns the value of theatlasPreparations
record component.- Returns:
- the value of the
atlasPreparations
record component
-
entityModelSet
Returns the value of theentityModelSet
record component.- Returns:
- the value of the
entityModelSet
record component
-
specialBlockModelRenderer
Returns the value of thespecialBlockModelRenderer
record component.- Returns:
- the value of the
specialBlockModelRenderer
record component
-
readyForUpload
Returns the value of thereadyForUpload
record component.- Returns:
- the value of the
readyForUpload
record component
-