Class ModelBakery.ModelBakerImpl
java.lang.Object
net.minecraft.client.resources.model.ModelBakery.ModelBakerImpl
- All Implemented Interfaces:
ModelBaker,ModelBakerExtension
- Enclosing class:
ModelBakery
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.resources.model.ModelBaker
ModelBaker.PartCache, ModelBaker.SharedOperationKey<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function<ModelBaker.SharedOperationKey<Object>, Object> private final ModelBakery.MissingModelsprivate final Map<ModelBaker.SharedOperationKey<Object>, Object> private final ModelBaker.PartCacheprivate final SpriteGetter -
Constructor Summary
ConstructorsConstructorDescriptionModelBakerImpl(SpriteGetter sprites, ModelBaker.PartCache parts, ModelBakery.MissingModels missingModels) -
Method Summary
Modifier and TypeMethodDescription<T> Tcompute(ModelBaker.SharedOperationKey<T> p_409780_) getModel(Identifier p_467266_) parts()sprites()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.client.extensions.ModelBakerExtension
resolveInlineModel
-
Field Details
-
sprites
-
parts
-
missingModels
-
operationCache
-
cacheComputeFunction
-
-
Constructor Details
-
ModelBakerImpl
ModelBakerImpl(SpriteGetter sprites, ModelBaker.PartCache parts, ModelBakery.MissingModels missingModels)
-
-
Method Details
-
missingBlockModelPart
- Specified by:
missingBlockModelPartin interfaceModelBaker
-
sprites
- Specified by:
spritesin interfaceModelBaker
-
parts
- Specified by:
partsin interfaceModelBaker
-
getModel
- Specified by:
getModelin interfaceModelBaker
-