@FunctionalInterface public static interface TexturedModel.Factory
Modifier and Type | Method and Description |
---|---|
TexturedModel |
get(Block block) |
default Identifier |
upload(Block block,
BiConsumer<Identifier,Supplier<JsonElement>> writer) |
default Identifier |
upload(Block block,
String suffix,
BiConsumer<Identifier,Supplier<JsonElement>> writer) |
default TexturedModel.Factory |
withTexture(Consumer<Texture> textureConsumer) |
TexturedModel get(Block block)
default Identifier upload(Block block, BiConsumer<Identifier,Supplier<JsonElement>> writer)
default Identifier upload(Block block, String suffix, BiConsumer<Identifier,Supplier<JsonElement>> writer)
default TexturedModel.Factory withTexture(Consumer<Texture> textureConsumer)