net.minecraft.client.data.models

public class ItemModelGenerators

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

Field summary

Modifier and TypeField
private static final ItemTintSource
f
BLANK_LAYER
field_55239
UNTINTED
public static final ResourceLocation
a
TRIM_PREFIX_HELMET
field_56347
HELMET
public static final ResourceLocation
b
TRIM_PREFIX_CHESTPLATE
field_56348
CHESTPLATE
public static final ResourceLocation
c
TRIM_PREFIX_LEGGINGS
field_56349
LEGGINGS
public static final ResourceLocation
d
TRIM_PREFIX_BOOTS
field_56350
BOOTS
public static final List<ItemModelGenerators$TrimMaterialData>
e
TRIM_MATERIAL_MODELS
field_55244
TRIM_MATERIALS
private final ItemModelOutput
g
itemModelOutput
field_55245
output
private final BiConsumer<ResourceLocation, ModelInstance>
h
modelOutput
field_55246
modelCollector

Constructor summary

ModifierConstructor
public (ItemModelOutput output, BiConsumer<ResourceLocation, ModelInstance> modelCollector)

Method summary

Modifier and TypeMethod
public static ResourceLocation
a(String arg0)
prefixForSlotTrim(String arg0)
method_67260(String arg0)
method_67260(String arg0)
private void
a(cyo arg0)
declareCustomModelItem(Item arg0)
method_65426(class_1792 arg0)
register(Item item)
private ResourceLocation
a(cyo arg0, fqq arg1)
createFlatItemModel(Item arg0, ModelTemplate arg1)
method_65434(class_1792 arg0, class_4942 arg1)
upload(Item item, Model model)
private void
b(cyo arg0, fqq arg1)
generateFlatItem(Item arg0, ModelTemplate arg1)
method_65442(class_1792 arg0, class_4942 arg1)
register(Item item, Model model)
private ResourceLocation
a(cyo arg0, String arg1, fqq arg2)
createFlatItemModel(Item arg0, String arg1, ModelTemplate arg2)
method_65438(class_1792 arg0, String arg1, class_4942 arg2)
registerSubModel(Item item, String suffix, Model model)
private ResourceLocation
a(cyo arg0, cyo arg1, fqq arg2)
createFlatItemModel(Item arg0, Item arg1, ModelTemplate arg2)
method_65432(class_1792 arg0, class_1792 arg1, class_4942 arg2)
uploadWithTextureSource(Item item, Item textureSourceItem, Model model)
private void
b(cyo arg0, cyo arg1, fqq arg2)
generateFlatItem(Item arg0, Item arg1, ModelTemplate arg2)
method_65441(class_1792 arg0, class_1792 arg1, class_4942 arg2)
registerWithTextureSource(Item item, Item textureSourceItem, Model model)
private void
a(cyo arg0, fpq arg1)
generateItemWithTintedOverlay(Item arg0, ItemTintSource arg1)
method_65433(class_1792 arg0, class_10401 arg1)
registerWithTintedOverlay(Item item, TintSource tint)
private void
a(cyo arg0, String arg1, fpq arg2)
generateItemWithTintedOverlay(Item arg0, String arg1, ItemTintSource arg2)
method_65437(class_1792 arg0, String arg1, class_10401 arg2)
registerWithTintedLayer(Item item, String layer1Suffix, TintSource tint)
private List<RangeSelectItemModel$Entry>
b(cyo arg0)
createCompassModels(Item arg0)
method_65440(class_1792 arg0)
createCompassRangeDispatchEntries(Item item)
private void
c(cyo arg0)
generateStandardCompassItem(Item arg0)
method_65443(class_1792 arg0)
registerCompass(Item item)
private void
d(cyo arg0)
generateRecoveryCompassItem(Item arg0)
method_65444(class_1792 arg0)
registerRecoveryCompass(Item item)
private void
e(cyo arg0)
generateClockItem(Item arg0)
method_43229(class_1792 arg0)
registerClock(Item clock)
private ResourceLocation
a(cyo arg0, ale arg1, ale arg2)
generateLayeredItem(Item arg0, ResourceLocation arg1, ResourceLocation arg2)
method_65431(class_1792 arg0, class_2960 arg1, class_2960 arg2)
uploadTwoLayers(Item item, Identifier layer0, Identifier layer1)
private ResourceLocation
a(ale arg0, ale arg1, ale 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(ale arg0, ale arg1, ale arg2, ale 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 void
a(cyo arg0, ald<dgz> arg1, ale arg2, boolean arg3)
generateTrimmableItem(Item arg0, ResourceKey<EquipmentAsset> arg1, ResourceLocation arg2, boolean arg3)
method_65429(class_1792 arg0, class_5321<class_10394> arg1, class_2960 arg2, boolean arg3)
registerArmor(Item item, RegistryKey<EquipmentAsset> equipmentKey, Identifier arg2, boolean dyeable)
private void
f(cyo arg0)
generateBundleModels(Item arg0)
method_65445(class_1792 arg0)
registerBundle(Item item)
private ResourceLocation
a(cyo arg0, fqq arg1, String arg2)
generateBundleCoverModel(Item arg0, ModelTemplate arg1, String arg2)
method_65435(class_1792 arg0, class_4942 arg1, String arg2)
uploadOpenBundleModel(Item item, Model model, String textureSuffix)
private void
g(cyo arg0)
generateBow(Item arg0)
method_65446(class_1792 arg0)
registerBow(Item item)
private void
h(cyo arg0)
generateCrossbow(Item arg0)
method_65447(class_1792 arg0)
registerCrossbow(Item item)
private void
a(cyo arg0, hfc arg1, hep$b arg2, hep$b arg3)
generateBooleanDispatch(Item arg0, ConditionalItemModelProperty arg1, ItemModel$Unbaked arg2, ItemModel$Unbaked arg3)
method_65436(class_1792 arg0, class_10460 arg1, class_10439$class_10441 arg2, class_10439$class_10441 arg3)
registerCondition(Item item, BooleanProperty property, ItemModel$Unbaked onTrue, ItemModel$Unbaked onFalse)
private void
i(cyo arg0)
generateElytra(Item arg0)
method_65448(class_1792 arg0)
registerWithBrokenCondition(Item item)
private void
j(cyo arg0)
generateBrush(Item arg0)
method_65449(class_1792 arg0)
registerBrush(Item item)
private void
k(cyo arg0)
generateFishingRod(Item arg0)
method_65450(class_1792 arg0)
registerFishingRod(Item item)
private void
l(cyo arg0)
generateGoatHorn(Item arg0)
method_65451(class_1792 arg0)
registerGoatHorn(Item item)
private void
m(cyo arg0)
generateShield(Item arg0)
method_65452(class_1792 arg0)
registerShield(Item item)
private static ItemModel$Unbaked
a(hep$b arg0, hep$b arg1)
createFlatModelDispatch(ItemModel$Unbaked arg0, ItemModel$Unbaked arg1)
method_65439(class_10439$class_10441 arg0, class_10439$class_10441 arg1)
createModelWithInHandVariant(ItemModel$Unbaked model, ItemModel$Unbaked inHandModel)
private void
n(cyo arg0)
generateSpyglass(Item arg0)
method_65453(class_1792 arg0)
registerWithInHandModel(Item item)
private void
o(cyo arg0)
generateTrident(Item arg0)
method_65454(class_1792 arg0)
registerTrident(Item item)
private void
a(cyo arg0, ale arg1)
addPotionTint(Item arg0, ResourceLocation arg1)
method_65430(class_1792 arg0, class_2960 arg1)
registerPotionTinted(Item item, Identifier model)
private void
p(cyo arg0)
generatePotion(Item arg0)
method_65455(class_1792 arg0)
registerPotion(Item item)
private void
q(cyo arg0)
generateTippedArrow(Item arg0)
method_65456(class_1792 arg0)
registerTippedArrow(Item item)
private void
a(cyo arg0, int arg1)
generateDyedItem(Item arg0, int arg1)
method_65427(class_1792 arg0, int arg1)
registerDyeable(Item item, int defaultColor)
private void
a(cyo arg0, int arg1, int arg2)
generateSpawnEgg(Item arg0, int arg1, int arg2)
method_65428(class_1792 arg0, int arg1, int arg2)
registerSpawnEgg(Item item, int shellColor, int spotsColor)
private void
r(cyo arg0)
generateWolfArmor(Item arg0)
method_65457(class_1792 arg0)
registerWithDyeableOverlay(Item item)
public void
a()
run()
method_25731()
register()