net.minecraft.client.renderer

public class ItemModelShaper

fob
net.minecraft.client.renderer.ItemModelShaper
net.minecraft.class_763
net.minecraft.client.render.item.ItemModels
net.minecraft.src.C_4133_

Field summary

Modifier and TypeField
public final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ModelResourceLocation>
a
shapes
field_4129
modelIds
f_109388_
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<BakedModel>
b
shapesCache
field_4130
models
f_109389_
private final ModelManager
c
modelManager
field_4128
modelManager
f_109390_

Constructor summary

ModifierConstructor
public (ModelManager modelManager)

Method summary

Modifier and TypeMethod
public BakedModel
a(cjf arg0)
getItemModel(ItemStack arg0)
method_3308(class_1799 arg0)
getModel(ItemStack stack)
m_109406_(C_1391_ arg0)
public BakedModel
a(cja arg0)
getItemModel(Item arg0)
method_3304(class_1792 arg0)
getModel(Item item)
m_109394_(C_1381_ arg0)
private static int
b(cja arg0)
getIndex(Item arg0)
method_3306(class_1792 arg0)
getModelId(Item item)
m_109404_(C_1381_ p_109405_)
public void
a(cja arg0, gbm arg1)
register(Item arg0, ModelResourceLocation arg1)
method_3309(class_1792 arg0, class_1091 arg1)
putModel(Item item, ModelIdentifier modelId)
m_109396_(C_1381_ p_109398_, C_4536_ arg1)
public ModelManager
a()
getModelManager()
method_3303()
getModelManager()
m_109393_()
public void
b()
rebuildCache()
method_3310()
reloadModels()
m_109403_()