net.minecraft.data.models

public class ItemModelGenerators

kz
net.minecraft.data.models.ItemModelGenerators
net.minecraft.class_4915
net.minecraft.data.client.ItemModelGenerator
net.minecraft.src.C_4792_

Field summary

Modifier and TypeField
public static final ResourceLocation
a
TRIM_TYPE_PREDICATE_ID
field_42086
TRIM_TYPE
f_265922_
private static final List<ItemModelGenerators$TrimModelData>
b
GENERATED_TRIM_MODELS
field_42087
TRIM_MATERIALS
f_265952_
private final BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>>
c
output
field_22844
writer
f_125080_

Constructor summary

ModifierConstructor
public (BiConsumer<ResourceLocation, Supplier<com.google.gson.JsonElement>> writer)

Method summary

Modifier and TypeMethod
private void
a(cfq arg0, ln arg1)
generateFlatItem(Item arg0, ModelTemplate arg1)
method_25733(class_1792 arg0, class_4942 arg1)
register(Item item, Model model)
m_125088_(C_1381_ p_125090_, C_4821_ arg1)
private void
a(cfq arg0, String arg1, ln arg2)
generateFlatItem(Item arg0, String arg1, ModelTemplate arg2)
method_25734(class_1792 arg0, String arg1, class_4942 arg2)
register(Item item, String suffix, Model model)
m_125091_(C_1381_ p_125093_, String p_125094_, C_4821_ arg2)
private void
a(cfq arg0, cfq arg1, ln arg2)
generateFlatItem(Item arg0, Item arg1, ModelTemplate arg2)
method_25732(class_1792 arg0, class_1792 arg1, class_4942 arg2)
register(Item item, Item texture, Model model)
m_125084_(C_1381_ p_125086_, C_1381_ p_125087_, C_4821_ arg2)
private void
a(cfq arg0)
generateCompassItem(Item arg0)
method_43228(class_1792 arg0)
registerCompass(Item compass)
m_236321_(C_1381_ arg0)
private void
b(cfq arg0)
generateClockItem(Item arg0)
method_43229(class_1792 arg0)
registerClock(Item clock)
m_236323_(C_1381_ arg0)
private void
a(add arg0, add arg1, add arg2)
generateLayeredItem(ResourceLocation arg0, ResourceLocation arg1, ResourceLocation arg2)
method_48517(class_2960 arg0, class_2960 arg1, class_2960 arg2)
uploadArmor(Identifier id, Identifier layer0, Identifier layer1)
m_266494_(C_5265_ p_266738_, C_5265_ p_267328_, C_5265_ arg2)
private void
a(add arg0, add arg1, add arg2, add arg3)
generateLayeredItem(ResourceLocation arg0, ResourceLocation arg1, ResourceLocation arg2, ResourceLocation arg3)
method_48742(class_2960 arg0, class_2960 arg1, class_2960 arg2, class_2960 arg3)
uploadArmor(Identifier id, Identifier layer0, Identifier layer1, Identifier layer2)
m_267826_(C_5265_ p_268162_, C_5265_ p_268173_, C_5265_ p_268312_, C_5265_ arg3)
private ResourceLocation
a(add arg0, String arg1)
getItemModelForTrimMaterial(ResourceLocation arg0, String arg1)
method_48518(class_2960 arg0, String arg1)
suffixTrim(Identifier id, String trimMaterialName)
m_266316_(C_5265_ p_267030_, String arg1)
private com.google.gson.JsonObject
a(add arg0, Map<lq, add> arg1, cdi arg2)
generateBaseArmorTrimTemplate(ResourceLocation arg0, Map<TextureSlot, ResourceLocation> arg1, ArmorMaterial arg2)
method_48519(class_2960 arg0, Map<class_4945, class_2960> arg1, class_1741 arg2)
createArmorJson(Identifier id, Map<TextureKey, Identifier> textures, ArmorMaterial armorMaterial)
m_266576_(C_5265_ p_267324_, Map<C_4825_, C_5265_> p_267970_, C_1315_ arg2)
private void
a(cdh arg0)
generateArmorTrims(ArmorItem arg0)
method_48523(class_1738 arg0)
registerArmor(ArmorItem armor)
m_266208_(C_1313_ arg0)
public void
a()
run()
method_25731()
register()
m_125083_()