net.minecraft.client.resources.model

public class ModelManager

implements PreparableReloadListener, AutoCloseable

ggt
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 static final org.slf4j.Logger
a
LOGGER
field_40573
LOGGER
f_243848_
private static final Map<ResourceLocation, ResourceLocation>
b
VANILLA_ATLASES
field_40574
LAYERS_TO_LOADERS
f_244614_
private Map<ResourceLocation, BakedModel>
c
bakedRegistry
field_5408
models
f_119397_
private final AtlasSet
d
atlases
field_21775
atlasManager
f_119398_
private final BlockModelShaper
e
blockModelShaper
field_5410
blockModelCache
f_119399_
private final BlockColors
f
blockColors
field_20277
colorMap
f_119401_
private int
g
maxMipmapLevels
field_21777
mipmapLevels
f_119402_
private BakedModel
h
missingModel
field_5407
missingModel
f_119403_
private it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
i
modelGroups
field_20278
stateLookup
f_119404_

Constructor summary

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

Method summary

Modifier and TypeMethod
public BakedModel
a(ggu 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_()
public final CompletableFuture<Void>
a(aqc$a arg0, aqi arg1, bgs arg2, bgs arg3, Executor arg4, Executor arg5)
reload(PreparableReloadListener$PreparationBarrier arg0, ResourceManager arg1, ProfilerFiller arg2, ProfilerFiller arg3, Executor arg4, Executor arg5)
method_25931(class_3302$class_4045 arg0, class_3300 arg1, class_3695 arg2, class_3695 arg3, Executor arg4, Executor arg5)
reload(ResourceReloader$Synchronizer arg0, ResourceManager arg1, Profiler arg2, Profiler arg3, Executor arg4, Executor arg5)
m_5540_(C_69_$C_70_ p_251134_, C_77_ p_250336_, C_442_ p_252324_, C_442_ p_250550_, Executor p_249221_, Executor arg5)
private static CompletableFuture<Map<ResourceLocation, BlockModel>>
a(aqi arg0, Executor arg1)
loadBlockModels(ResourceManager arg0, Executor arg1)
method_45881(class_3300 arg0, Executor arg1)
reloadModels(ResourceManager resourceManager, Executor executor)
m_246704_(C_77_ p_251361_, Executor p_252189_)
private static CompletableFuture<Map<ResourceLocation, List<ModelBakery$LoadedJson>>>
b(aqi arg0, Executor arg1)
loadBlockStates(ResourceManager arg0, Executor arg1)
method_45896(class_3300 arg0, Executor arg1)
reloadBlockStates(ResourceManager resourceManager, Executor executor)
m_246899_(C_77_ p_252084_, Executor p_249943_)
private ModelManager$ReloadState
a(bgs arg0, Map<ahg, ggm$b> arg1, ggs arg2)
loadModels(ProfilerFiller arg0, Map<ResourceLocation, AtlasSet$StitchResult> arg1, ModelBakery arg2)
method_45883(class_3695 arg0, Map<class_2960, class_4724$class_7774> arg1, class_1088 arg2)
bake(Profiler profiler, Map<Identifier, SpriteAtlasManager$AtlasPreparation> preparations, ModelLoader modelLoader)
m_245476_(C_442_ p_250646_, Map<C_5265_, C_243561_$C_243596_> p_248945_, C_4532_ arg2)
private void
a(ggt$a arg0, bgs arg1)
apply(ModelManager$ReloadState arg0, ProfilerFiller arg1)
method_18179(class_1092$class_7779 arg0, class_3695 arg1)
upload(BakedModelManager$BakingResult bakingResult, Profiler profiler)
m_247616_(C_4535_$C_243437_ p_251960_, C_442_ arg1)
public boolean
a(djh arg0, djh 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(ahg 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)