net.minecraft.data.models

public class ItemModelGenerators

np
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(cul arg0, od 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(cul arg0, String arg1, od 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(cul arg0, cul arg1, od 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(cul arg0)
generateItemWithOverlay(Item arg0)
method_57960(class_1792 arg0)
registerWolfArmor(Item armor)
m_321912_(C_1381_ arg0)
private void
b(cul arg0)
generateCompassItem(Item arg0)
method_43228(class_1792 arg0)
registerCompass(Item compass)
m_236321_(C_1381_ arg0)
private void
c(cul arg0)
generateClockItem(Item arg0)
method_43229(class_1792 arg0)
registerClock(Item clock)
m_236323_(C_1381_ arg0)
private void
a(akr arg0, akr arg1, akr 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(akr arg0, akr arg1, akr arg2, akr 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(akr 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(akr arg0, Map<og, akr> arg1, jm<csg> arg2)
generateBaseArmorTrimTemplate(ResourceLocation arg0, Map<TextureSlot, ResourceLocation> arg1, Holder<ArmorMaterial> arg2)
method_48519(class_2960 arg0, Map<class_4945, class_2960> arg1, class_6880<class_1741> arg2)
createArmorJson(Identifier id, Map<TextureKey, Identifier> textures, RegistryEntry<ArmorMaterial> armorMaterial)
m_266576_(C_5265_ p_267324_, Map<C_4825_, C_5265_> p_331857_, C_203228_<C_1315_> arg2)
private void
a(csf 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_()