Package net.minecraft.data
Interface TexturedModel.ISupplier
- 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 p_240466_1_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_240466_2_) default ResourceLocation
createWithSuffix
(Block p_240465_1_, String p_240465_2_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_240465_3_) default TexturedModel.ISupplier
updateTexture
(Consumer<ModelTextures> p_240467_1_)
-
Method Details
-
get
-
create
default ResourceLocation create(Block p_240466_1_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_240466_2_) -
createWithSuffix
default ResourceLocation createWithSuffix(Block p_240465_1_, String p_240465_2_, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> p_240465_3_) -
updateTexture
-