net.minecraft.data.models.model

public class ModelTemplate

lh
net.minecraft.data.models.model.ModelTemplate
net.minecraft.class_4942
net.minecraft.unmapped.C_zppcsbsk
net.minecraft.data.client.Model
net.minecraft.data.client.model.Model
net.minecraft.src.C_4821_

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public ResourceLocation
a(csv arg0, lj arg1, BiConsumer<aew, 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)
m_uxvraxaj(C_mmxmpdoq arg0, C_pgmmajlq arg1, BiConsumer<C_ncpywfca, Supplier<com.google.gson.JsonElement>> arg2)
upload(Block block, TextureMap textures, BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> modelCollector)
upload(Block block, Texture texture, BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> modelCollector)
m_125592_(C_1706_ p_125594_, C_4823_ p_125595_, BiConsumer<C_5265_, Supplier<com.google.gson.JsonElement>> arg2)
public ResourceLocation
a(csv arg0, String arg1, lj arg2, BiConsumer<aew, 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)
m_fmsamywd(C_mmxmpdoq arg0, String arg1, C_pgmmajlq arg2, BiConsumer<C_ncpywfca, Supplier<com.google.gson.JsonElement>> arg3)
upload(Block block, String suffix, TextureMap textures, BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> modelCollector)
upload(Block block, String suffix, Texture texture, BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> modelCollector)
m_125596_(C_1706_ p_125598_, String p_125599_, C_4823_ p_125600_, BiConsumer<C_5265_, Supplier<com.google.gson.JsonElement>> arg3)
public ResourceLocation
b(csv arg0, String arg1, lj arg2, BiConsumer<aew, 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)
m_djglnvfy(C_mmxmpdoq arg0, String arg1, C_pgmmajlq arg2, BiConsumer<C_ncpywfca, Supplier<com.google.gson.JsonElement>> arg3)
uploadWithoutVariant(Block block, String suffix, TextureMap textures, BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> modelCollector)
uploadWithoutVariant(Block block, String suffix, Texture texture, BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> modelCollector)
m_125616_(C_1706_ p_125618_, String p_125619_, C_4823_ p_125620_, BiConsumer<C_5265_, Supplier<com.google.gson.JsonElement>> arg3)
public ResourceLocation
a(aew arg0, lj arg1, BiConsumer<aew, 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)
m_tqikhuwl(C_ncpywfca arg0, C_pgmmajlq arg1, BiConsumer<C_ncpywfca, Supplier<com.google.gson.JsonElement>> arg2)
upload(Identifier id, TextureMap textures, BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> modelCollector)
upload(Identifier id, Texture texture, BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> modelCollector)
m_125612_(C_5265_ p_125614_, C_4823_ p_125615_, BiConsumer<C_5265_, Supplier<com.google.gson.JsonElement>> arg2)
public ResourceLocation
a(aew arg0, lj arg1, BiConsumer<aew, Supplier<com.google.gson.JsonElement>> arg2, lh$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)
m_oyjlnybm(C_ncpywfca arg0, C_pgmmajlq arg1, BiConsumer<C_ncpywfca, Supplier<com.google.gson.JsonElement>> arg2, C_zppcsbsk$C_sbdlbkmi arg3)
upload(Identifier id, TextureMap textures, BiConsumer<Identifier, Supplier<com.google.gson.JsonElement>> modelCollector, Model$JsonFactory jsonFactory)
m_266561_(C_5265_ p_267329_, C_4823_ p_266768_, BiConsumer<C_5265_, Supplier<com.google.gson.JsonElement>> p_266906_, C_4821_$C_265841_ arg3)
public com.google.gson.JsonObject
a(aew arg0, Map<lk, aew> arg1)
createBaseTemplate(ResourceLocation arg0, Map<TextureSlot, ResourceLocation> arg1)
method_48524(class_2960 arg0, Map<class_4945, class_2960> arg1)
m_mjmunmmv(C_ncpywfca arg0, Map<C_pixosdqo, C_ncpywfca> arg1)
createJson(Identifier id, Map<TextureKey, Identifier> textures)
m_266532_(C_5265_ p_266912_, Map<C_4825_, C_5265_> arg1)
private Map<TextureSlot, ResourceLocation>
a(lj arg0)
createMap(TextureMapping arg0)
method_25850(class_4944 arg0)
m_qvwwtehp(C_pgmmajlq arg0)
createTextureMap(TextureMap textures)
createTextureMap(Texture texture)
m_125608_(C_4823_ arg0)