Record Class BakedModelManager.BakingResult
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.BakedModelManager.BakingResult
- Record Components:
modelLoader
-modelGroups
-missingModel
-modelCache
-atlasPreparations
-readyForUpload
-
- Enclosing class:
BakedModelManager
@Environment(CLIENT)
private static record BakedModelManager.BakingResult(ModelBaker modelLoader, Object2IntMap<BlockState> modelGroups, BakedModel missingModel, Map<BlockState,BakedModel> modelCache, Map<Identifier,SpriteAtlasManager.AtlasPreparation> atlasPreparations, CompletableFuture<Void> readyForUpload)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/model/BakedModelManager$BakingResult
intermediary net/minecraft/class_1092$class_7779
official hdz$a
named modelLoader
intermediary comp_1058
official a
named modelGroups
intermediary comp_3066
official b
named missingModel
intermediary comp_1059
official c
named modelCache
intermediary comp_1060
official d
named atlasPreparations
intermediary comp_1061
official e
named readyForUpload
intermediary comp_1062
official f
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map
<Identifier, SpriteAtlasManager.AtlasPreparation> The field for theatlasPreparations
record component.private final BakedModel
The field for themissingModel
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 ModelBaker
The field for themodelLoader
record component.private final CompletableFuture
<Void> The field for thereadyForUpload
record component. -
Constructor Summary
ConstructorDescriptionBakingResult
(ModelBaker modelBaker, Object2IntMap<BlockState> object2IntMap, BakedModel bakedModel, Map<BlockState, BakedModel> map, Map<Identifier, SpriteAtlasManager.AtlasPreparation> map2, CompletableFuture<Void> completableFuture) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theatlasPreparations
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 themissingModel
record component.Returns the value of themodelCache
record component.Returns the value of themodelGroups
record component.Returns the value of themodelLoader
record component.Returns the value of thereadyForUpload
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
modelLoader
The field for themodelLoader
record component. -
modelGroups
The field for themodelGroups
record component. -
missingModel
The field for themissingModel
record component. -
modelCache
The field for themodelCache
record component. -
atlasPreparations
The field for theatlasPreparations
record component. -
readyForUpload
The field for thereadyForUpload
record component.
-
-
Constructor Details
-
BakingResult
BakingResult(ModelBaker modelBaker, Object2IntMap<BlockState> object2IntMap, BakedModel bakedModel, Map<BlockState, BakedModel> map, Map<Identifier, SpriteAtlasManager.AtlasPreparation> map2, 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)
. -
modelLoader
Returns the value of themodelLoader
record component.- Returns:
- the value of the
modelLoader
record component
-
modelGroups
Returns the value of themodelGroups
record component.- Returns:
- the value of the
modelGroups
record component
-
missingModel
Returns the value of themissingModel
record component.- Returns:
- the value of the
missingModel
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
-
readyForUpload
Returns the value of thereadyForUpload
record component.- Returns:
- the value of the
readyForUpload
record component
-