Package net.minecraft.data.models.model
Interface TexturedModel.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.
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceLocation
create
(Block modelBlock, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) default ResourceLocation
createWithSuffix
(Block modelBlock, String modelLocationSuffix, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) default TexturedModel.Provider
updateTexture
(Consumer<TextureMapping> textureMappingConsumer)
-
Method Details
-
get
-
create
default ResourceLocation create(Block modelBlock, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) -
createWithSuffix
default ResourceLocation createWithSuffix(Block modelBlock, String modelLocationSuffix, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> modelOutput) -
updateTexture
-