net.minecraft.data.models

public class ItemModelGenerators

od
net.minecraft.data.models.ItemModelGenerators
net.minecraft.class_4915
net.minecraft.data.client.ItemModelGenerator

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(cxl arg0, or arg1)
generateFlatItem(Item arg0, ModelTemplate arg1)
method_25733(class_1792 arg0, class_4942 arg1)
register(Item item, Model model)
private void
a(cxl arg0, String arg1, or 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)
private void
a(cxl arg0, cxl arg1, or 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)
private void
a(cxl arg0)
generateItemWithOverlay(Item arg0)
method_57960(class_1792 arg0)
registerWolfArmor(Item armor)
private void
b(cxl arg0)
generateCompassItem(Item arg0)
method_43228(class_1792 arg0)
registerCompass(Item compass)
private void
c(cxl arg0)
generateClockItem(Item arg0)
method_43229(class_1792 arg0)
registerClock(Item clock)
private void
a(alz arg0, alz arg1, alz 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)
private void
a(alz arg0, alz arg1, alz arg2, alz 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)
private ResourceLocation
a(alz arg0, String arg1)
getItemModelForTrimMaterial(ResourceLocation arg0, String arg1)
method_48518(class_2960 arg0, String arg1)
suffixTrim(Identifier id, String trimMaterialName)
private com.google.gson.JsonObject
a(alz arg0, Map<ou, alz> arg1, alz arg2)
generateBaseArmorTrimTemplate(ResourceLocation arg0, Map<TextureSlot, ResourceLocation> arg1, ResourceLocation arg2)
method_48519(class_2960 arg0, Map<class_4945, class_2960> arg1, class_2960 arg2)
createArmorJson(Identifier id, Map<TextureKey, Identifier> textures, Identifier modelId)
private void
a(cxl arg0, alz arg1, dfs arg2, bvs arg3)
generateArmorTrims(Item arg0, ResourceLocation arg1, EquipmentModel arg2, EquipmentSlot arg3)
method_48523(class_1792 arg0, class_2960 arg1, class_10186 arg2, class_1304 arg3)
registerArmor(Item item, Identifier modelId, EquipmentModel model, EquipmentSlot slot)
public void
a()
run()
method_25731()
register()