diff --git a/src/item/StringToItemParser.php b/src/item/StringToItemParser.php index ee0f1f5c520..a1660093972 100644 --- a/src/item/StringToItemParser.php +++ b/src/item/StringToItemParser.php @@ -298,6 +298,7 @@ private static function registerBlocks(self $result) : void{ $result->registerBlock("crimson_fence", fn() => Blocks::CRIMSON_FENCE()); $result->registerBlock("crimson_fence_gate", fn() => Blocks::CRIMSON_FENCE_GATE()); $result->registerBlock("crimson_hyphae", fn() => Blocks::CRIMSON_HYPHAE()->setStripped(false)); + $result->registerBlock("crimson_nylium", fn() => Blocks::CRIMSON_NYLIUM()); $result->registerBlock("crimson_planks", fn() => Blocks::CRIMSON_PLANKS()); $result->registerBlock("crimson_pressure_plate", fn() => Blocks::CRIMSON_PRESSURE_PLATE()); $result->registerBlock("crimson_roots", fn() => Blocks::CRIMSON_ROOTS()); @@ -1136,6 +1137,7 @@ private static function registerBlocks(self $result) : void{ $result->registerBlock("warped_fence", fn() => Blocks::WARPED_FENCE()); $result->registerBlock("warped_fence_gate", fn() => Blocks::WARPED_FENCE_GATE()); $result->registerBlock("warped_hyphae", fn() => Blocks::WARPED_HYPHAE()->setStripped(false)); + $result->registerBlock("warped_nylium", fn() => Blocks::WARPED_NYLIUM()); $result->registerBlock("warped_planks", fn() => Blocks::WARPED_PLANKS()); $result->registerBlock("warped_pressure_plate", fn() => Blocks::WARPED_PRESSURE_PLATE()); $result->registerBlock("warped_roots", fn() => Blocks::WARPED_ROOTS()); diff --git a/tests/phpunit/block/block_factory_consistency_check.json b/tests/phpunit/block/block_factory_consistency_check.json index 79804d8cbd8..e4a9044f03e 100644 --- a/tests/phpunit/block/block_factory_consistency_check.json +++ b/tests/phpunit/block/block_factory_consistency_check.json @@ -154,6 +154,7 @@ "CRIMSON_FENCE": 1, "CRIMSON_FENCE_GATE": 16, "CRIMSON_HYPHAE": 6, + "CRIMSON_NYLIUM": 1, "CRIMSON_PLANKS": 1, "CRIMSON_PRESSURE_PLATE": 2, "CRIMSON_ROOTS": 1, @@ -690,6 +691,7 @@ "WARPED_FENCE": 1, "WARPED_FENCE_GATE": 16, "WARPED_HYPHAE": 6, + "WARPED_NYLIUM": 1, "WARPED_PLANKS": 1, "WARPED_PRESSURE_PLATE": 2, "WARPED_ROOTS": 1,