Interface TexturedModel.Provider
- All Superinterfaces:
ITexturedModelExtension.Provider
- Enclosing class:
TexturedModel
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface TexturedModel.Provider
extends ITexturedModelExtension.Provider
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceLocation
create
(Block pBlock, BiConsumer<ResourceLocation, ModelInstance> pOutput) default ResourceLocation
createWithSuffix
(Block pBlock, String pSuffix, BiConsumer<ResourceLocation, ModelInstance> pOutput) default TexturedModel.Provider
updateTexture
(Consumer<TextureMapping> pUpdater) Methods inherited from interface net.neoforged.neoforge.client.extensions.ITexturedModelExtension.Provider
updateTemplate
-
Method Details
-
get
-
create
-
createWithSuffix
default ResourceLocation createWithSuffix(Block pBlock, String pSuffix, BiConsumer<ResourceLocation, ModelInstance> pOutput) -
updateTexture
-