net.minecraft.data.models.model

public class ModelTemplate

ix
net.minecraft.data.models.model.ModelTemplate
net.minecraft.class_4942
net.minecraft.data.client.model.Model
net.minecraft.data.ModelsUtil

Field summary

Modifier and TypeField
private final Optional<ResourceLocation>
a
model
field_22901
parent
field_240225_a_
private final Set<TextureSlot>
b
requiredSlots
field_22902
requiredTextures
field_240226_b_
private Optional<String>
c
suffix
field_22903
variant
field_240227_c_

Constructor summary

ModifierConstructor
public (Optional<ResourceLocation> parent, Optional<String> variant, TextureSlot... requiredTextures)

Method summary

Modifier and TypeMethod
public ResourceLocation
a(buo arg0, iz arg1, BiConsumer<vk, Supplier<com.google.gson.JsonElement>> arg2)
create(Block arg0, TextureMapping arg1, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> arg2)
method_25846(class_2248 arg0, class_4944 arg1, BiConsumer<class_2960, Supplier<com.google.gson.JsonElement>> arg2)
upload(Block block, Texture texture, BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> modelCollector)
func_240228_a_(Block arg0, ModelTextures arg1, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> arg2)
public ResourceLocation
a(buo arg0, String arg1, iz arg2, BiConsumer<vk, Supplier<com.google.gson.JsonElement>> arg3)
createWithSuffix(Block arg0, String arg1, TextureMapping arg2, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> arg3)
method_25847(class_2248 arg0, String arg1, class_4944 arg2, BiConsumer<class_2960, Supplier<com.google.gson.JsonElement>> arg3)
upload(Block block, String suffix, Texture texture, BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> modelCollector)
func_240229_a_(Block arg0, String arg1, ModelTextures arg2, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> arg3)
public ResourceLocation
b(buo arg0, String arg1, iz arg2, BiConsumer<vk, Supplier<com.google.gson.JsonElement>> arg3)
createWithOverride(Block arg0, String arg1, TextureMapping arg2, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> arg3)
method_25853(class_2248 arg0, String arg1, class_4944 arg2, BiConsumer<class_2960, Supplier<com.google.gson.JsonElement>> arg3)
uploadWithoutVariant(Block block, String suffix, Texture texture, BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> modelCollector)
func_240235_b_(Block arg0, String arg1, ModelTextures arg2, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> arg3)
public ResourceLocation
a(vk arg0, iz arg1, BiConsumer<vk, Supplier<com.google.gson.JsonElement>> arg2)
create(ResourceLocation arg0, TextureMapping arg1, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> arg2)
method_25852(class_2960 arg0, class_4944 arg1, BiConsumer<class_2960, Supplier<com.google.gson.JsonElement>> arg2)
upload(Identifier id, Texture texture, BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> modelCollector)
func_240234_a_(ResourceLocation arg0, ModelTextures arg1, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> arg2)
private Map<TextureSlot, ResourceLocation>
a(iz arg0)
createMap(TextureMapping arg0)
method_25850(class_4944 arg0)
createTextureMap(Texture texture)
func_240232_a_(ModelTextures arg0)