Class BlockStateModelLoader
java.lang.Object
net.minecraft.client.resources.model.BlockStateModelLoader
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final record
static final record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final FileToIdConverter
private static final org.slf4j.Logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static BlockStateModelLoader.LoadedModels
loadBlockStateDefinitionStack
(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)
-