net.minecraft.client.data.models.model

public class ModelTemplate

fnt
net.minecraft.client.data.models.model.ModelTemplate
net.minecraft.class_4942
net.minecraft.client.data.Model
net.minecraft.src.C_370454_

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public ResourceLocation
a(djn arg0)
getDefaultModelLocation(Block arg0)
method_54828(class_2248 arg0)
getBlockSubModelId(Block block)
m_372893_(C_1706_ arg0)
public ResourceLocation
a(djn arg0, fnv arg1, BiConsumer<akv, fnr> arg2)
create(Block arg0, TextureMapping arg1, BiConsumer<ResourceLocation, ModelInstance> arg2)
method_25846(class_2248 arg0, class_4944 arg1, BiConsumer<class_2960, class_10411> arg2)
upload(Block block, TextureMap textures, BiConsumer<Identifier, ModelSupplier> modelCollector)
m_373425_(C_1706_ p_378305_, C_370370_ p_376589_, BiConsumer<C_5265_, C_370365_> arg2)
public ResourceLocation
a(djn arg0, String arg1, fnv arg2, BiConsumer<akv, fnr> arg3)
createWithSuffix(Block arg0, String arg1, TextureMapping arg2, BiConsumer<ResourceLocation, ModelInstance> arg3)
method_25847(class_2248 arg0, String arg1, class_4944 arg2, BiConsumer<class_2960, class_10411> arg3)
upload(Block block, String suffix, TextureMap textures, BiConsumer<Identifier, ModelSupplier> modelCollector)
m_372580_(C_1706_ p_376203_, String p_376258_, C_370370_ p_375987_, BiConsumer<C_5265_, C_370365_> arg3)
public ResourceLocation
b(djn arg0, String arg1, fnv arg2, BiConsumer<akv, fnr> arg3)
createWithOverride(Block arg0, String arg1, TextureMapping arg2, BiConsumer<ResourceLocation, ModelInstance> arg3)
method_25853(class_2248 arg0, String arg1, class_4944 arg2, BiConsumer<class_2960, class_10411> arg3)
uploadWithoutVariant(Block block, String suffix, TextureMap textures, BiConsumer<Identifier, ModelSupplier> modelCollector)
m_374047_(C_1706_ p_378134_, String p_376015_, C_370370_ p_378800_, BiConsumer<C_5265_, C_370365_> arg3)
public ResourceLocation
a(cwm arg0, fnv arg1, BiConsumer<akv, fnr> arg2)
create(Item arg0, TextureMapping arg1, BiConsumer<ResourceLocation, ModelInstance> arg2)
method_48525(class_1792 arg0, class_4944 arg1, BiConsumer<class_2960, class_10411> arg2)
upload(Item item, TextureMap textures, BiConsumer<Identifier, ModelSupplier> modelCollector)
m_374305_(C_1381_ p_375480_, C_370370_ p_378140_, BiConsumer<C_5265_, C_370365_> arg2)
public ResourceLocation
a(akv arg0, fnv arg1, BiConsumer<akv, fnr> arg2)
create(ResourceLocation arg0, TextureMapping arg1, BiConsumer<ResourceLocation, ModelInstance> arg2)
method_25852(class_2960 arg0, class_4944 arg1, BiConsumer<class_2960, class_10411> arg2)
upload(Identifier id, TextureMap textures, BiConsumer<Identifier, ModelSupplier> modelCollector)
m_373081_(C_5265_ p_377818_, C_370370_ p_375928_, BiConsumer<C_5265_, C_370365_> arg2)
private Map<TextureSlot, ResourceLocation>
a(fnv arg0)
createMap(TextureMapping arg0)
method_25850(class_4944 arg0)
createTextureMap(TextureMap textures)
m_372105_(C_370370_ arg0)