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 official fwm$aintermediary net/minecraft/class_1092$class_7779named net/minecraft/client/render/model/BakedModelManager$BakingResultofficial aintermediary comp_1058named modelLoaderofficial bintermediary comp_1059named missingModelofficial cintermediary comp_1060named modelCacheofficial dintermediary comp_1061named atlasPreparationsofficial eintermediary comp_1062named readyForUpload
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<Identifier,SpriteAtlasManager.AtlasPreparation> The field for theatlasPreparationsrecord component.private final BakedModelThe field for themissingModelrecord component.private final Map<BlockState,BakedModel> The field for themodelCacherecord component.private final ModelLoaderThe field for themodelLoaderrecord component.private final CompletableFuture<Void>The field for thereadyForUploadrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionBakingResult(ModelLoader modelLoader, BakedModel bakedModel, Map<BlockState, BakedModel> map, Map<Identifier, SpriteAtlasManager.AtlasPreparation> map2, CompletableFuture<Void> completableFuture) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theatlasPreparationsrecord 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 themissingModelrecord component.Returns the value of themodelCacherecord component.Returns the value of themodelLoaderrecord component.Returns the value of thereadyForUploadrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
modelLoader
The field for themodelLoaderrecord component. -
missingModel
The field for themissingModelrecord component. -
modelCache
The field for themodelCacherecord component. -
atlasPreparations
The field for theatlasPreparationsrecord component. -
readyForUpload
The field for thereadyForUploadrecord 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 themodelLoaderrecord component.- Returns:
- the value of the
modelLoaderrecord component
-
missingModel
Returns the value of themissingModelrecord component.- Returns:
- the value of the
missingModelrecord 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
-
readyForUpload
Returns the value of thereadyForUploadrecord component.- Returns:
- the value of the
readyForUploadrecord component
-