net.minecraft.client.render.model

public class BakedModelManager

implements ResourceReloader

net.minecraft.client.resources.model.ModelManager
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
LOGGER
LOGGER
field_40573
LOGGER
private static final ResourceFinder
MODEL_LISTER
MODEL_LISTER
field_53676
MODELS_FINDER
private Map<Identifier, ItemModel>
bakedItemStackModels
bakedItemStackModels
field_55472
bakedItemModels
private Map<Identifier, ItemAsset$Properties>
itemProperties
itemProperties
field_55573
itemProperties
private final AtlasManager
atlasManager
atlasManager
field_61870
atlasManager
private final PlayerSkinCache
playerSkinRenderCache
playerSkinRenderCache
field_62266
skinCache
private final BlockColors
blockColors
blockColors
field_20277
colorMap
private LoadedEntityModels
entityModelSet
entityModelSet
field_55473
entityModels
private ModelBaker$BlockItemModels
missingModels
missingModels
field_57008
missingModels
private BlockStateModels
blockStateModelSet
blockStateModelSet
field_1_2180
blockStateModels
private BlockModels
blockModelSet
blockModelSet
field_1_2294
blockModels
private FluidModels
fluidStateModelSet
fluidStateModelSet
field_1_2477
fluidModels
private it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
modelGroups
modelGroups
field_55476
modelGroups

Constructor summary

ModifierConstructor
public (BlockColors colorMap, AtlasManager atlasManager, PlayerSkinCache skinCache)

Method summary

Modifier and TypeMethod
public ItemModel
getItemModel(Identifier id)
getItemModel(Identifier id)
method_65746(class_2960 arg0)
getItemModel(Identifier id)
public ItemAsset$Properties
getItemProperties(Identifier id)
getItemProperties(Identifier id)
method_65934(class_2960 arg0)
getItemProperties(Identifier id)
public BlockStateModels
getBlockStateModelSet()
getBlockStateModelSet()
method_1_2607()
getBlockStateModels()
public BlockModels
getBlockModelSet()
getBlockModelSet()
method_1_2714()
getBlockModels()
public FluidModels
getFluidStateModelSet()
getFluidStateModelSet()
method_1_2991()
getFluidModels()
public final CompletableFuture<Void>
reload(PreparableReloadListener$SharedState currentReload, Executor taskExecutor, PreparableReloadListener$PreparationBarrier preparationBarrier, Executor reloadExecutor)
reload(PreparableReloadListener$SharedState currentReload, Executor taskExecutor, PreparableReloadListener$PreparationBarrier preparationBarrier, Executor reloadExecutor)
method_25931(class_3302$class_11558 arg0, Executor arg1, class_3302$class_4045 arg2, Executor arg3)
reload(ResourceReloader$Store arg0, Executor arg1, ResourceReloader$Synchronizer arg2, Executor arg3)
private static CompletableFuture<Map<Identifier, UnbakedModel>>
loadBlockModels(ResourceManager manager, Executor executor)
loadBlockModels(ResourceManager manager, Executor executor)
method_45881(class_3300 arg0, Executor arg1)
reloadModels(ResourceManager resourceManager, Executor executor)
private static BakedModelManager$Models
discoverModelDependencies(Map<Identifier, UnbakedModel> allModels, BlockStateModelLoader$LoadedModels blockStateModels, ClientItemInfoLoader$LoadedClientInfos itemInfos)
discoverModelDependencies(Map<Identifier, UnbakedModel> allModels, BlockStateModelLoader$LoadedModels blockStateModels, ClientItemInfoLoader$LoadedClientInfos itemInfos)
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<BakedModelManager$BakingResult>
loadModels(SpriteLoader$Preparations blockAtlas, SpriteLoader$Preparations itemAtlas, ModelBakery bakery, LoadedBlockModels blockModels, it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState> modelGroups, EntityModelSet entityModelSet, Executor taskExecutor)
loadModels(SpriteLoader$Preparations blockAtlas, SpriteLoader$Preparations itemAtlas, ModelBakery bakery, LoadedBlockModels blockModels, it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState> modelGroups, EntityModelSet entityModelSet, Executor taskExecutor)
method_45883(class_7766$class_7767 arg0, class_7766$class_7767 arg1, class_1088 arg2, class_1_415 arg3, it.unimi.dsi.fastutil.objects.Object2IntMap<class_2680> arg4, class_5599 arg5, Executor arg6)
bake(SpriteLoader$StitchResult blocksResult, SpriteLoader$StitchResult itemsResult, ModelBaker baker, BlockModelLoader blockModelLoader, it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState> groups, LoadedEntityModels entityModels, Executor executor)
private static Map<BlockState, BlockStateModel>
createBlockStateToModelDispatch(Map<BlockState, BlockStateModel> bakedModels, BlockStateModel missingModel)
createBlockStateToModelDispatch(Map<BlockState, BlockStateModel> bakedModels, BlockStateModel missingModel)
method_65751(Map<class_2680, class_1087> arg0, class_1087 arg1)
toStateMap(Map<BlockState, BlockStateModel> blockStateModels, BlockStateModel missingModel)
private static it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
buildModelGroups(BlockColors blockColors, BlockStateModelLoader$LoadedModels blockStateModels)
buildModelGroups(BlockColors blockColors, BlockStateModelLoader$LoadedModels blockStateModels)
method_62654(class_324 arg0, class_9824$class_10095 arg1)
group(BlockColors colors, BlockStatesLoader$LoadedModels definition)
private void
apply(ModelManager$ReloadState preparations)
apply(ModelManager$ReloadState preparations)
method_18179(class_1092$class_7779 arg0)
upload(BakedModelManager$BakingResult bakingResult)
public boolean
requiresRender(BlockState oldState, BlockState newState)
requiresRender(BlockState oldState, BlockState newState)
method_21611(class_2680 arg0, class_2680 arg1)
shouldRerender(BlockState from, BlockState to)
public Supplier<LoadedEntityModels>
entityModels()
entityModels()
method_65757()
getEntityModelsSupplier()