net.minecraft.data.models.model

public class ModelTemplate

or
net.minecraft.data.models.model.ModelTemplate
net.minecraft.class_4942
net.minecraft.data.client.Model

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public ResourceLocation
a(dkm arg0)
getDefaultModelLocation(Block arg0)
method_54828(class_2248 arg0)
getBlockSubModelId(Block block)
public ResourceLocation
a(dkm arg0, ot arg1, BiConsumer<alz, 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, TextureMap textures, BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> modelCollector)
public ResourceLocation
a(dkm arg0, String arg1, ot arg2, BiConsumer<alz, 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, TextureMap textures, BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> modelCollector)
public ResourceLocation
b(dkm arg0, String arg1, ot arg2, BiConsumer<alz, 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, TextureMap textures, BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> modelCollector)
public ResourceLocation
a(alz arg0, ot arg1, BiConsumer<alz, 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, TextureMap textures, BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> modelCollector)
public ResourceLocation
a(alz arg0, ot arg1, BiConsumer<alz, Supplier<com.google.gson.JsonElement>> arg2, or$a arg3)
create(ResourceLocation arg0, TextureMapping arg1, BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> arg2, ModelTemplate$JsonFactory arg3)
method_48525(class_2960 arg0, class_4944 arg1, BiConsumer<class_2960, Supplier<com.google.gson.JsonElement>> arg2, class_4942$class_8073 arg3)
upload(Identifier id, TextureMap textures, BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> modelCollector, Model$JsonFactory jsonFactory)
public com.google.gson.JsonObject
a(alz arg0, Map<ou, alz> arg1)
createBaseTemplate(ResourceLocation arg0, Map<TextureSlot, ResourceLocation> arg1)
method_48524(class_2960 arg0, Map<class_4945, class_2960> arg1)
createJson(Identifier id, Map<TextureKey, Identifier> textures)
private Map<TextureSlot, ResourceLocation>
a(ot arg0)
createMap(TextureMapping arg0)
method_25850(class_4944 arg0)
createTextureMap(TextureMap textures)