Class BlockStateModelLoader
java.lang.Object
net.minecraft.client.resources.model.BlockStateModelLoader
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final FileToIdConverterprivate static final org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static BlockStateModelLoader.LoadedModelsloadBlockStateDefinitionStack(ResourceLocation pBlockStateId, StateDefinition<Block, BlockState> pStateDefinition, List<BlockStateModelLoader.LoadedBlockModelDefinition> pModelDefinitions) loadBlockStates(ResourceManager pResourceManager, Executor pExecutor)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
BLOCKSTATE_LISTER
-
-
Constructor Details
-
BlockStateModelLoader
public BlockStateModelLoader()
-
-
Method Details
-
loadBlockStates
public static CompletableFuture<BlockStateModelLoader.LoadedModels> loadBlockStates(ResourceManager pResourceManager, Executor pExecutor) -
loadBlockStateDefinitionStack
private static BlockStateModelLoader.LoadedModels loadBlockStateDefinitionStack(ResourceLocation pBlockStateId, StateDefinition<Block, BlockState> pStateDefinition, List<BlockStateModelLoader.LoadedBlockModelDefinition> pModelDefinitions)
-