Parse all enabled datapacks for their real name (not the filename). Put all found datapacks in a list in WorldInfo, support zipped and unzipped storage. Can be used to query whether a specific datapack is used in that world.
Refactored Custom Dimension parsing into the same code.
Example usage:
Just call e.g. WorldInfo::isDatapackEnabled("Chunklock") to query if the datapack (in this case "Chunklock") is used.
Parse all enabled datapacks for their real name (not the filename). Put all found datapacks in a list in WorldInfo, support zipped and unzipped storage. Can be used to query whether a specific datapack is used in that world.
Refactored Custom Dimension parsing into the same code.
Example usage: Just call e.g.
WorldInfo::isDatapackEnabled("Chunklock")
to query if the datapack (in this case "Chunklock") is used.