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.
@FunctionalInterface public static interface TexturedModel.ISupplier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ResourceLocation
create(Block p_240466_1_, java.util.function.BiConsumer<ResourceLocation,java.util.function.Supplier<com.google.gson.JsonElement>> p_240466_2_)
default ResourceLocation
createWithSuffix(Block p_240465_1_, java.lang.String p_240465_2_, java.util.function.BiConsumer<ResourceLocation,java.util.function.Supplier<com.google.gson.JsonElement>> p_240465_3_)
TexturedModel
get(Block p_get_1_)
default TexturedModel.ISupplier
updateTexture(java.util.function.Consumer<ModelTextures> p_240467_1_)
-
-
-
Method Detail
-
get
TexturedModel get(Block p_get_1_)
-
create
default ResourceLocation create(Block p_240466_1_, java.util.function.BiConsumer<ResourceLocation,java.util.function.Supplier<com.google.gson.JsonElement>> p_240466_2_)
-
createWithSuffix
default ResourceLocation createWithSuffix(Block p_240465_1_, java.lang.String p_240465_2_, java.util.function.BiConsumer<ResourceLocation,java.util.function.Supplier<com.google.gson.JsonElement>> p_240465_3_)
-
updateTexture
default TexturedModel.ISupplier updateTexture(java.util.function.Consumer<ModelTextures> p_240467_1_)
-
-