net.minecraft.client.resources.model

public class ModelManager

implements PreparableReloadListener, AutoCloseable

hea
net.minecraft.client.resources.model.ModelManager
net.minecraft.class_1092
net.minecraft.unmapped.C_wosoicga
net.minecraft.client.render.model.BakedModelManager
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
f_rexpodux
LOGGER
LOGGER
f_243848_
private static final FileToIdConverter
b
BLOCKSTATE_LISTER
field_53675
f_emxupxcn
BLOCK_STATES_FINDER
f_348738_
private static final FileToIdConverter
c
MODEL_LISTER
field_53676
f_cnajsbhz
MODELS_FINDER
f_347757_
private static final Map<ResourceLocation, ResourceLocation>
d
VANILLA_ATLASES
field_40574
f_hwjaieki
LAYERS_TO_LOADERS
ATLAS_RESOURCES
f_244614_
private Map<ModelResourceLocation, BakedModel>
e
bakedRegistry
field_5408
f_zqtjjcot
models
models
f_119397_
private final AtlasSet
f
atlases
field_21775
f_mvvepmdz
atlasManager
atlasManager
f_119398_
private final BlockModelShaper
g
blockModelShaper
field_5410
f_szhnrtqi
blockModelCache
blockModelCache
f_119399_
private final BlockColors
h
blockColors
field_20277
f_yvcxllcg
colorMap
colorMap
f_119401_
private int
i
maxMipmapLevels
field_21777
f_xkuaoogg
mipmapLevels
mipmapLevels
f_119402_
private BakedModel
j
missingModel
field_5407
f_jvpdwspc
missingModel
missingModel
f_119403_
private it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
k
modelGroups
field_20278
f_sreekxlq
stateLookup
stateLookup
f_119404_

Constructor summary

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

Method summary

Modifier and TypeMethod
public BakedModel
a(heb arg0)
getModel(ModelResourceLocation arg0)
method_4742(class_1091 arg0)
m_fdknnkhy(C_jcudnsmp arg0)
getModel(ModelIdentifier id)
getModel(ModelIdentifier id)
m_119422_(C_4536_ arg0)
public BakedModel
a()
getMissingModel()
method_4744()
m_lwjqxwnu()
getMissingModel()
getMissingModel()
m_119409_()
public BlockModelShaper
b()
getBlockModelShaper()
method_4743()
m_mpabbjcv()
getBlockModels()
getBlockModels()
m_119430_()
public final CompletableFuture<Void>
a(avp$a arg0, avv arg1, Executor arg2, Executor arg3)
reload(PreparableReloadListener$PreparationBarrier arg0, ResourceManager arg1, Executor arg2, Executor arg3)
method_25931(class_3302$class_4045 arg0, class_3300 arg1, Executor arg2, Executor arg3)
m_vbnuicfd(C_msqwzogj$C_yodorvdw arg0, C_tmnrpasf arg1, Executor arg2, Executor arg3)
reload(ResourceReloader$Synchronizer arg0, ResourceManager arg1, Executor arg2, Executor arg3)
reload(ResourceReloader$Synchronizer arg0, ResourceManager arg1, Executor arg2, Executor arg3)
m_5540_(C_69_$C_70_ p_251134_, C_77_ p_250550_, Executor p_249221_, Executor arg3)
private static CompletableFuture<Map<ResourceLocation, UnbakedModel>>
a(avv arg0, Executor arg1)
loadBlockModels(ResourceManager arg0, Executor arg1)
method_45881(class_3300 arg0, Executor arg1)
m_ewpgilcu(C_tmnrpasf arg0, Executor arg1)
reloadModels(ResourceManager resourceManager, Executor executor)
loadBlockModels(ResourceManager resourceManager, Executor executor)
m_246704_(C_77_ p_251361_, Executor p_252189_)
private ModelDiscovery
a(heg arg0, Map<alz, heg> arg1, hdp$c arg2)
discoverModelDependencies(UnbakedModel arg0, Map<ResourceLocation, UnbakedModel> arg1, BlockStateModelLoader$LoadedModels arg2)
method_62657(class_1100 arg0, Map<class_2960, class_1100> arg1, class_9824$class_10095 arg2)
m_rcieesug(C_nrqwmhri arg0, Map<C_ncpywfca, C_nrqwmhri> arg1, C_xecqvems$C_xegzpyhi arg2)
collect(UnbakedModel missingModel, Map<Identifier, UnbakedModel> inputs, BlockStatesLoader$BlockStateDefinition definition)
m_rcieesug(UnbakedModel model, Map<Identifier, UnbakedModel> arg1, C_xecqvems$C_xegzpyhi arg2)
m_354024_(C_4542_ p_360749_, Map<C_5265_, C_4542_> p_366446_, C_336451_$C_345987_ arg2)
private static CompletableFuture<BlockStateModelLoader$LoadedModels>
a(hdp arg0, avv arg1, Executor arg2)
loadBlockStates(BlockStateModelLoader arg0, ResourceManager arg1, Executor arg2)
method_45896(class_9824 arg0, class_3300 arg1, Executor arg2)
m_jxdqxolx(C_xecqvems arg0, C_tmnrpasf arg1, Executor arg2)
reloadBlockStates(BlockStatesLoader blockStatesLoader, ResourceManager resourceManager, Executor executor)
loadBlockStates(C_xecqvems arg0, ResourceManager resourceManager, Executor executor)
m_246899_(C_336451_ p_367882_, C_77_ p_252084_, Executor p_249943_)
private ModelManager$ReloadState
a(bpt arg0, Map<alz, hdm$b> arg1, hdx arg2, it.unimi.dsi.fastutil.objects.Object2IntMap<dxv> arg3)
loadModels(ProfilerFiller arg0, Map<ResourceLocation, AtlasSet$StitchResult> arg1, ModelBakery arg2, it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState> arg3)
method_45883(class_3695 arg0, Map<class_2960, class_4724$class_7774> arg1, class_1088 arg2, it.unimi.dsi.fastutil.objects.Object2IntMap<class_2680> arg3)
m_hpgvneki(C_eslcbfsq arg0, Map<C_ncpywfca, C_pzkdqusv$C_hddnhiwp> arg1, C_gjnplkfz arg2, it.unimi.dsi.fastutil.objects.Object2IntMap<C_txtbiemp> arg3)
bake(Profiler profiler, Map<Identifier, SpriteAtlasManager$AtlasPreparation> preparations, ModelBaker modelLoader, it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState> modelGroups)
loadModels(Profiler profiler, Map<Identifier, SpriteAtlasManager$StitchResult> atlases, ModelLoader modelLoader, it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState> arg3)
m_245476_(C_442_ p_250646_, Map<C_5265_, C_243561_$C_243596_> p_248945_, C_4532_ p_361513_, it.unimi.dsi.fastutil.objects.Object2IntMap<C_2064_> arg3)
private static it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
a(fni arg0, hdp$c arg1)
buildModelGroups(BlockColors arg0, BlockStateModelLoader$LoadedModels arg1)
method_62654(class_324 arg0, class_9824$class_10095 arg1)
m_rbbubrqv(C_iiyegykq arg0, C_xecqvems$C_xegzpyhi arg1)
group(BlockColors colors, BlockStatesLoader$BlockStateDefinition definition)
m_355311_(C_3423_ p_369941_, C_336451_$C_345987_ p_360724_)
private void
a(hea$a arg0, bpt arg1)
apply(ModelManager$ReloadState arg0, ProfilerFiller arg1)
method_18179(class_1092$class_7779 arg0, class_3695 arg1)
m_pfipxvmw(C_wosoicga$C_mogtdkcx arg0, C_eslcbfsq arg1)
upload(BakedModelManager$BakingResult bakingResult, Profiler profiler)
apply(BakedModelManager$ReloadState reloadState, Profiler profiler)
m_247616_(C_4535_$C_243437_ p_251960_, C_442_ arg1)
public boolean
a(dxv arg0, dxv arg1)
requiresRender(BlockState arg0, BlockState arg1)
method_21611(class_2680 arg0, class_2680 arg1)
m_nrawhhyn(C_txtbiemp arg0, C_txtbiemp arg1)
shouldRerender(BlockState from, BlockState to)
shouldRerender(BlockState from, BlockState to)
m_119415_(C_2064_ p_119417_, C_2064_ arg1)
public TextureAtlas
a(alz arg0)
getAtlas(ResourceLocation arg0)
method_24153(class_2960 arg0)
m_xzgzhjbz(C_ncpywfca arg0)
getAtlas(Identifier id)
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)
m_ijhjurnk(int arg0)
setMipmapLevels(int mipmapLevels)
setMipmapLevels(int mipmapLevels)
m_119410_(int arg0)