net.minecraft.client.resources.model

public class ModelManager

implements PreparableReloadListener, AutoCloseable

hhh
net.minecraft.client.resources.model.ModelManager
net.minecraft.class_1092
net.minecraft.client.render.model.BakedModelManager

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_40573
LOGGER
private static final FileToIdConverter
b
MODEL_LISTER
field_53676
MODELS_FINDER
private static final Map<ResourceLocation, ResourceLocation>
c
VANILLA_ATLASES
field_40574
LAYERS_TO_LOADERS
private Map<ModelResourceLocation, BakedModel>
d
bakedBlockStateModels
field_55471
bakedBlockModels
private Map<ResourceLocation, ItemModel>
e
bakedItemStackModels
field_55472
bakedItemModels
private Map<ResourceLocation, ClientItem$Properties>
f
itemProperties
field_55573
itemProperties
private final AtlasSet
g
atlases
field_21775
atlasManager
private final BlockModelShaper
h
blockModelShaper
field_5410
blockModelCache
private final BlockColors
i
blockColors
field_20277
colorMap
private EntityModelSet
j
entityModelSet
field_55473
entityModels
private SpecialBlockModelRenderer
k
specialBlockModelRenderer
field_55474
blockEntityModels
private int
l
maxMipmapLevels
field_21777
mipmapLevels
private BakedModel
m
missingModel
field_5407
missingBlockModel
private ItemModel
n
missingItemModel
field_55475
missingItemModel
private it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
o
modelGroups
field_55476
modelGroups

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)
getModel(ModelIdentifier id)
public BakedModel
a()
getMissingModel()
method_4744()
getMissingBlockModel()
public ItemModel
a(akv arg0)
getItemModel(ResourceLocation arg0)
method_65746(class_2960 arg0)
getItemModel(Identifier id)
public ClientItem$Properties
b(akv arg0)
getItemProperties(ResourceLocation arg0)
method_65934(class_2960 arg0)
getItemProperties(Identifier id)
public BlockModelShaper
b()
getBlockModelShaper()
method_4743()
getBlockModels()
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)
reload(ResourceReloader$Synchronizer arg0, ResourceManager arg1, Executor arg2, 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)
reloadModels(ResourceManager resourceManager, Executor executor)
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)
collect(UnbakedModel missingModel, Map<Identifier, UnbakedModel> models, BlockStatesLoader$BlockStateDefinition blockStates, ItemAssetsLoader$Result itemAssets)
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)
bake(Profiler profiler, Map<Identifier, SpriteAtlasManager$AtlasPreparation> atlases, ModelBaker baker, it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState> groups, LoadedEntityModels entityModels, LoadedBlockEntityModels blockEntityModels)
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)
toStateMap(Map<ModelIdentifier, BakedModel> blockStateModels, BakedModel missingModel)
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)
group(BlockColors colors, BlockStatesLoader$BlockStateDefinition definition)
private void
a(hhh$a arg0, bou arg1)
apply(ModelManager$ReloadState arg0, ProfilerFiller arg1)
method_18179(class_1092$class_7779 arg0, class_3695 arg1)
upload(BakedModelManager$BakingResult bakingResult, Profiler profiler)
public boolean
a(dwy arg0, dwy arg1)
requiresRender(BlockState arg0, BlockState arg1)
method_21611(class_2680 arg0, class_2680 arg1)
shouldRerender(BlockState from, BlockState to)
public TextureAtlas
c(akv arg0)
getAtlas(ResourceLocation arg0)
method_24153(class_2960 arg0)
getAtlas(Identifier id)
public void
close()
close()
public void
a(int arg0)
updateMaxMipLevel(int arg0)
method_24152(int arg0)
setMipmapLevels(int mipmapLevels)
public Supplier<SpecialBlockModelRenderer>
d()
specialBlockModelRenderer()
method_65756()
getBlockEntityModelsSupplier()
public Supplier<EntityModelSet>
e()
entityModels()
method_65757()
getEntityModelsSupplier()