Class PonderSceneRegistry
java.lang.Object
net.createmod.ponder.foundation.registration.PonderSceneRegistry
- All Implemented Interfaces:
SceneRegistryAccess
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStoryBoard(StoryBoardEntry entry) voidcompile(Collection<StoryBoardEntry> entries) compile(net.minecraft.resources.ResourceLocation id) static PonderScenecompileScene(PonderLocalization localization, StoryBoardEntry sb, PonderLevel level) booleandoScenesExistForId(net.minecraft.resources.ResourceLocation id) Collection<Map.Entry<net.minecraft.resources.ResourceLocation,StoryBoardEntry>> static net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplateloadSchematic(InputStream resourceStream) static net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplateloadSchematic(net.minecraft.resources.ResourceLocation location) static net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplateloadSchematic(net.minecraft.server.packs.resources.ResourceManager resourceManager, net.minecraft.resources.ResourceLocation location)
-
Constructor Details
-
PonderSceneRegistry
-
-
Method Details
-
clearRegistry
public void clearRegistry() -
addStoryBoard
-
getRegisteredEntries
public Collection<Map.Entry<net.minecraft.resources.ResourceLocation,StoryBoardEntry>> getRegisteredEntries()- Specified by:
getRegisteredEntriesin interfaceSceneRegistryAccess
-
doScenesExistForId
public boolean doScenesExistForId(net.minecraft.resources.ResourceLocation id) - Specified by:
doScenesExistForIdin interfaceSceneRegistryAccess
-
compile
- Specified by:
compilein interfaceSceneRegistryAccess
-
compile
- Specified by:
compilein interfaceSceneRegistryAccess
-
compileScene
public static PonderScene compileScene(PonderLocalization localization, StoryBoardEntry sb, @Nullable PonderLevel level) -
loadSchematic
public static net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate loadSchematic(net.minecraft.resources.ResourceLocation location) -
loadSchematic
public static net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate loadSchematic(net.minecraft.server.packs.resources.ResourceManager resourceManager, net.minecraft.resources.ResourceLocation location) -
loadSchematic
public static net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate loadSchematic(InputStream resourceStream) throws IOException - Throws:
IOException
-