Record Class BakedModelManager.BakingResult
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.BakedModelManager.BakingResult
- Record Components:
modelLoader
-missingModel
-modelCache
-atlasPreparations
-readyForUpload
-
- Enclosing class:
BakedModelManager
@Environment(CLIENT)
private static record BakedModelManager.BakingResult(ModelLoader modelLoader, 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 grh$a
named modelLoader
intermediary comp_1058
official a
named missingModel
intermediary comp_1059
official b
named modelCache
intermediary comp_1060
official c
named atlasPreparations
intermediary comp_1061
official d
named readyForUpload
intermediary comp_1062
official e
-
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 ModelLoader
The field for themodelLoader
record component.private final CompletableFuture
<Void> The field for thereadyForUpload
record component. -
Constructor Summary
ConstructorDescriptionBakingResult
(ModelLoader modelLoader, 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 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. -
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(ModelLoader modelLoader, 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
-
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
-