net.minecraft.client.resources.model

public class ModelManager

implements PreparableReloadListener, AutoCloseable

hme
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<ResourceLocation, ItemModel>
d
bakedItemStackModels
field_55472
bakedItemModels
private Map<ResourceLocation, ClientItem$Properties>
e
itemProperties
field_55573
itemProperties
private final AtlasSet
f
atlases
field_21775
atlasManager
private final BlockModelShaper
g
blockModelShaper
field_5410
blockModelCache
private final BlockColors
h
blockColors
field_20277
colorMap
private EntityModelSet
i
entityModelSet
field_55473
entityModels
private SpecialBlockModelRenderer
j
specialBlockModelRenderer
field_55474
blockEntityModels
private int
k
maxMipmapLevels
field_21777
mipmapLevels
private ModelBakery$MissingModels
l
missingModels
field_57008
modelBaker
private it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
m
modelGroups
field_55476
modelGroups

Constructor summary

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

Method summary

Modifier and TypeMethod
public BlockStateModel
a()
getMissingBlockStateModel()
method_68046()
getModel()
public ItemModel
a(alg arg0)
getItemModel(ResourceLocation arg0)
method_65746(class_2960 arg0)
getItemModel(Identifier id)
public ClientItem$Properties
b(alg arg0)
getItemProperties(ResourceLocation arg0)
method_65934(class_2960 arg0)
getItemProperties(Identifier id)
public BlockModelShaper
b()
getBlockModelShaper()
method_4743()
getBlockModels()
public final CompletableFuture<Void>
reload(auw$a arg0, avd 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(avd arg0, Executor arg1)
loadBlockModels(ResourceManager arg0, Executor arg1)
method_45881(class_3300 arg0, Executor arg1)
reloadModels(ResourceManager resourceManager, Executor executor)
private static ModelManager$ResolvedModels
a(Map<alg, hmm> arg0, hlt$b arg1, hlu$a arg2)
discoverModelDependencies(Map<ResourceLocation, UnbakedModel> arg0, BlockStateModelLoader$LoadedModels arg1, ClientItemInfoLoader$LoadedClientInfos arg2)
method_62657(Map<class_2960, class_1100> arg0, class_9824$class_10095 arg1, class_10521$class_10522 arg2)
collect(Map<Identifier, UnbakedModel> modelMap, BlockStatesLoader$LoadedModels stateDefinition, ItemAssetsLoader$Result result)
private static CompletableFuture<ModelManager$ReloadState>
a(Map<alg, hlq$b> arg0, hma arg1, it.unimi.dsi.fastutil.objects.Object2IntMap<eat> arg2, gjp arg3, grn arg4, Executor arg5)
loadModels(Map<ResourceLocation, AtlasSet$StitchResult> arg0, ModelBakery arg1, it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState> arg2, EntityModelSet arg3, SpecialBlockModelRenderer arg4, Executor arg5)
method_45883(Map<class_2960, class_4724$class_7774> arg0, class_1088 arg1, it.unimi.dsi.fastutil.objects.Object2IntMap<class_2680> arg2, class_5599 arg3, class_10418 arg4, Executor arg5)
bake(Map<Identifier, SpriteAtlasManager$AtlasPreparation> atlasMap, ModelBaker baker, it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState> blockStates, LoadedEntityModels entityModels, LoadedBlockEntityModels blockEntityModels, Executor arg5)
private static Map<BlockState, BlockStateModel>
a(Map<eat, gsd> arg0, gsd arg1)
createBlockStateToModelDispatch(Map<BlockState, BlockStateModel> arg0, BlockStateModel arg1)
method_65751(Map<class_2680, class_1087> arg0, class_1087 arg1)
toStateMap(Map<BlockState, BakedModel> blockStateModels, BakedModel missingModel)
private static it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
a(fqv arg0, hlt$b arg1)
buildModelGroups(BlockColors arg0, BlockStateModelLoader$LoadedModels arg1)
method_62654(class_324 arg0, class_9824$class_10095 arg1)
group(BlockColors colors, BlockStatesLoader$LoadedModels definition)
private void
a(hme$a arg0, bqq 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(eat arg0, eat arg1)
requiresRender(BlockState arg0, BlockState arg1)
method_21611(class_2680 arg0, class_2680 arg1)
shouldRerender(BlockState from, BlockState to)
public TextureAtlas
c(alg 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>
c()
specialBlockModelRenderer()
method_65756()
getBlockEntityModelsSupplier()
public Supplier<EntityModelSet>
d()
entityModels()
method_65757()
getEntityModelsSupplier()