net.minecraft.client.resources.model

public class ModelManager

extends SimplePreparableReloadListener<ModelBakery> implements AutoCloseable

All mapped superinterfaces:

PreparableReloadListener

flv
net.minecraft.client.resources.model.ModelManager
net.minecraft.class_1092
net.minecraft.client.render.model.BakedModelManager
net.minecraft.src.C_4535_

Field summary

Modifier and TypeField
private Map<ResourceLocation, BakedModel>
a
bakedRegistry
field_5408
models
f_119397_
private AtlasSet
b
atlases
field_21775
atlasManager
f_119398_
private final BlockModelShaper
c
blockModelShaper
field_5410
blockModelCache
f_119399_
private final TextureManager
d
textureManager
field_21776
textureManager
f_119400_
private final BlockColors
e
blockColors
field_20277
colorMap
f_119401_
private int
f
maxMipmapLevels
field_21777
mipmapLevels
f_119402_
private BakedModel
g
missingModel
field_5407
missingModel
f_119403_
private it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
h
modelGroups
field_20278
stateLookup
f_119404_

Constructor summary

ModifierConstructor
public (TextureManager textureManager, BlockColors colorMap, int mipmap)

Method summary

Modifier and TypeMethod
public BakedModel
a(flw arg0)
getModel(ModelResourceLocation arg0)
method_4742(class_1091 arg0)
getModel(ModelIdentifier id)
m_119422_(C_4536_ arg0)
public BakedModel
a()
getMissingModel()
method_4744()
getMissingModel()
m_119409_()
public BlockModelShaper
b()
getBlockModelShaper()
method_4743()
getBlockModels()
m_119430_()
protected ModelBakery
a(aim arg0, awz arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_18178(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
m_5944_(C_77_ p_119414_, C_442_ arg1)
protected void
a(flu arg0, aim arg1, awz arg2)
apply(ModelBakery arg0, ResourceManager arg1, ProfilerFiller arg2)
method_18179(class_1088 arg0, class_3300 arg1, class_3695 arg2)
apply(ModelLoader arg0, ResourceManager arg1, Profiler arg2)
m_5787_(C_4532_ p_119420_, C_77_ p_119421_, C_442_ arg2)
public boolean
a(cvo arg0, cvo arg1)
requiresRender(BlockState arg0, BlockState arg1)
method_21611(class_2680 arg0, class_2680 arg1)
shouldRerender(BlockState from, BlockState to)
m_119415_(C_2064_ p_119417_, C_2064_ arg1)
public TextureAtlas
a(abb arg0)
getAtlas(ResourceLocation arg0)
method_24153(class_2960 arg0)
getAtlas(Identifier id)
m_119428_(C_5265_ arg0)
public void
close()
close()
close()
public void
a(int arg0)
updateMaxMipLevel(int arg0)
method_24152(int arg0)
setMipmapLevels(int mipmapLevels)
m_119410_(int arg0)