From c44758f36cad5ce33d6bbbcea6e43d97aeff6371 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 10 Nov 2023 15:26:02 +0000 Subject: [PATCH] StringToItemParser: added pitcher_plant and pitcher_pod it seems a bit weird to map pitcher_pod to PITCHER_CROP(). Perhaps this wasn't implemented correctly. --- src/item/StringToItemParser.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/item/StringToItemParser.php b/src/item/StringToItemParser.php index d4f242621..14c93cb5e 100644 --- a/src/item/StringToItemParser.php +++ b/src/item/StringToItemParser.php @@ -868,6 +868,8 @@ final class StringToItemParser extends StringToTParser{ $result->registerBlock("pink_petals", fn() => Blocks::PINK_PETALS()); $result->registerBlock("pink_tulip", fn() => Blocks::PINK_TULIP()); $result->registerBlock("piglin_head", fn() => Blocks::MOB_HEAD()->setMobHeadType(MobHeadType::PIGLIN)); + $result->registerBlock("pitcher_plant", fn() => Blocks::PITCHER_PLANT()); + $result->registerBlock("pitcher_pod", fn() => Blocks::PITCHER_CROP()); $result->registerBlock("plank", fn() => Blocks::OAK_PLANKS()); $result->registerBlock("planks", fn() => Blocks::OAK_PLANKS()); $result->registerBlock("player_head", fn() => Blocks::MOB_HEAD()->setMobHeadType(MobHeadType::PLAYER));