Move legacy recipes and creative items in-house

having them here allows BedrockData to represent latest versions freely, without being limited by technical limitations of PM4.
This commit is contained in:
Dylan K. Taylor
2023-02-02 15:25:03 +00:00
parent 3c46bf01c6
commit cfa1e7486a
4 changed files with 54888 additions and 2 deletions

View File

@ -959,7 +959,7 @@ class Server{
$this->commandMap = new SimpleCommandMap($this);
$this->craftingManager = CraftingManagerFromDataHelper::make(Path::join(\pocketmine\BEDROCK_DATA_PATH, "recipes.json"));
$this->craftingManager = CraftingManagerFromDataHelper::make(Path::join(\pocketmine\RESOURCE_PATH, "legacy_recipes.json"));
$this->resourceManager = new ResourcePackManager(Path::join($this->getDataPath(), "resource_packs"), $this->logger);