net.minecraft.client.resources.model

public class ModelManager

implements PreparableReloadListener, AutoCloseable

hhh
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
MODEL_LISTER
field_53676
f_cnajsbhz
MODELS_FINDER
f_347757_
private static final Map<ResourceLocation, ResourceLocation>
c
VANILLA_ATLASES
field_40574
f_hwjaieki
LAYERS_TO_LOADERS
ATLAS_RESOURCES
f_244614_
private Map<ModelResourceLocation, BakedModel>
d
bakedBlockStateModels
field_55471
f_wqobznvh
bakedBlockModels
f_371502_
private Map<ResourceLocation, ItemModel>
e
bakedItemStackModels
field_55472
f_ldmxsgkc
bakedItemModels
f_370593_
private Map<ResourceLocation, ClientItem$Properties>
f
itemProperties
field_55573
f_xnxgkthq
itemProperties
f_371549_
private final AtlasSet
g
atlases
field_21775
f_mvvepmdz
atlasManager
atlasManager
f_119398_
private final BlockModelShaper
h
blockModelShaper
field_5410
f_szhnrtqi
blockModelCache
blockModelCache
f_119399_
private final BlockColors
i
blockColors
field_20277
f_yvcxllcg
colorMap
colorMap
f_119401_
private EntityModelSet
j
entityModelSet
field_55473
f_vrxojhrf
entityModels
f_370579_
private SpecialBlockModelRenderer
k
specialBlockModelRenderer
field_55474
f_eelhnxwh
blockEntityModels
f_371099_
private int
l
maxMipmapLevels
field_21777
f_xkuaoogg
mipmapLevels
mipmapLevels
f_119402_
private BakedModel
m
missingModel
field_5407
f_jvpdwspc
missingBlockModel
missingModel
f_119403_
private ItemModel
n
missingItemModel
field_55475
f_rpqqrjpo
missingItemModel
f_370808_
private it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
o
modelGroups
field_55476
f_sreekxlq
modelGroups
stateLookup
f_119404_

Constructor summary

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

Method summary

Modifier and TypeMethod
public BakedModel
a(hhi 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()
getMissingBlockModel()
getMissingModel()
m_119409_()
public ItemModel
a(akv arg0)
getItemModel(ResourceLocation arg0)
method_65746(class_2960 arg0)
m_kellrhky(C_ncpywfca arg0)
getItemModel(Identifier id)
m_kellrhky(Identifier id)
m_374174_(C_5265_ arg0)
public ClientItem$Properties
b(akv arg0)
getItemProperties(ResourceLocation arg0)
method_65934(class_2960 arg0)
m_ifqnvrgd(C_ncpywfca arg0)
getItemProperties(Identifier id)
m_ifqnvrgd(Identifier id)
m_372224_(C_5265_ arg0)
public BlockModelShaper
b()
getBlockModelShaper()
method_4743()
m_mpabbjcv()
getBlockModels()
getBlockModels()
m_119430_()
public final CompletableFuture<Void>
a(auj$a arg0, aup 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(aup 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 static ModelDiscovery
a(hho arg0, Map<akv, hho> arg1, hgv$c arg2, hgw$a arg3)
discoverModelDependencies(UnbakedModel arg0, Map<ResourceLocation, UnbakedModel> arg1, BlockStateModelLoader$LoadedModels arg2, ClientItemInfoLoader$LoadedClientInfos arg3)
method_62657(class_1100 arg0, Map<class_2960, class_1100> arg1, class_9824$class_10095 arg2, class_10521$class_10522 arg3)
m_rcieesug(C_nrqwmhri arg0, Map<C_ncpywfca, C_nrqwmhri> arg1, C_xecqvems$C_xegzpyhi arg2, C_yvkpjlid$C_hsddball arg3)
collect(UnbakedModel missingModel, Map<Identifier, UnbakedModel> models, BlockStatesLoader$BlockStateDefinition blockStates, ItemAssetsLoader$Result itemAssets)
m_rcieesug(UnbakedModel model, Map<Identifier, UnbakedModel> arg1, C_xecqvems$C_xegzpyhi arg2, C_yvkpjlid$C_hsddball arg3)
m_354024_(C_4542_ p_364387_, Map<C_5265_, C_4542_> p_360749_, C_336451_$C_345987_ p_366446_, C_370283_$C_370296_ p_378505_)
private static ModelManager$ReloadState
a(bou arg0, Map<akv, hgs$b> arg1, hhd arg2, it.unimi.dsi.fastutil.objects.Object2IntMap<dwy> arg3, gfa arg4, gmw arg5)
loadModels(ProfilerFiller arg0, Map<ResourceLocation, AtlasSet$StitchResult> arg1, ModelBakery arg2, it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState> arg3, EntityModelSet arg4, SpecialBlockModelRenderer arg5)
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, class_5599 arg4, class_10418 arg5)
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, C_qncyfzro arg4, C_lacxyxjt arg5)
bake(Profiler profiler, Map<Identifier, SpriteAtlasManager$AtlasPreparation> atlases, ModelBaker baker, it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState> groups, LoadedEntityModels entityModels, LoadedBlockEntityModels blockEntityModels)
loadModels(Profiler profiler, Map<Identifier, SpriteAtlasManager$StitchResult> atlases, ModelLoader modelLoader, it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState> modelGroups, EntityModelLoader entityModelSet, C_lacxyxjt specialBlockModelRenderer)
m_245476_(C_442_ p_252136_, Map<C_5265_, C_243561_$C_243596_> p_250646_, C_4532_ p_248945_, it.unimi.dsi.fastutil.objects.Object2IntMap<C_2064_> p_361513_, C_141653_ p_378097_, C_370466_ p_377275_)
private static Map<BlockState, BakedModel>
a(Map<hhi, hgt> arg0, hgt arg1)
createBlockStateToModelDispatch(Map<ModelResourceLocation, BakedModel> arg0, BakedModel arg1)
method_65751(Map<class_1091, class_1087> arg0, class_1087 arg1)
m_jqckykwg(Map<C_jcudnsmp, C_nnhmhkbv> arg0, C_nnhmhkbv arg1)
toStateMap(Map<ModelIdentifier, BakedModel> blockStateModels, BakedModel missingModel)
m_jqckykwg(Map<ModelIdentifier, BakedModel> arg0, BakedModel model)
m_372344_(Map<C_4536_, C_4528_> p_377857_, C_4528_ p_378390_)
private static it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
a(fmm arg0, hgv$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(hhh$a arg0, bou 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(dwy arg0, dwy 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
c(akv 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)
public Supplier<SpecialBlockModelRenderer>
d()
specialBlockModelRenderer()
method_65756()
m_drljdhly()
getBlockEntityModelsSupplier()
m_372440_()
public Supplier<EntityModelSet>
e()
entityModels()
method_65757()
m_ckjyqdcr()
getEntityModelsSupplier()
m_374342_()