Added mangrove roots and muddy mangrove roots

This commit is contained in:
Dylan K. Taylor
2022-07-23 17:20:23 +01:00
parent 17635e770b
commit 38e495babf
6 changed files with 46 additions and 1 deletions

View File

@ -476,6 +476,7 @@ use function mb_strtolower;
* @method static Wood MANGROVE_LOG()
* @method static Planks MANGROVE_PLANKS()
* @method static WoodenPressurePlate MANGROVE_PRESSURE_PLATE()
* @method static MangroveRoots MANGROVE_ROOTS()
* @method static FloorSign MANGROVE_SIGN()
* @method static WoodenSlab MANGROVE_SLAB()
* @method static WoodenStairs MANGROVE_STAIRS()
@ -496,6 +497,7 @@ use function mb_strtolower;
* @method static Stair MOSSY_STONE_BRICK_STAIRS()
* @method static Wall MOSSY_STONE_BRICK_WALL()
* @method static Opaque MUD()
* @method static Transparent MUDDY_MANGROVE_ROOTS()
* @method static Opaque MUD_BRICKS()
* @method static Slab MUD_BRICK_SLAB()
* @method static Stair MUD_BRICK_STAIRS()
@ -1165,6 +1167,10 @@ final class VanillaBlocks{
BreakInfo::instant(),
));
self::register("mangrove_roots", new MangroveRoots(new BID(Ids::MANGROVE_ROOTS), "Mangrove Roots", new BreakInfo(0.7, ToolType::AXE)));
//TODO: muddy mangrove roots are supposed to be axis-rotatable (Bedrock parity issue https://bugs.mojang.com/browse/MCPE-153721)
self::register("muddy_mangrove_roots", new Transparent(new BID(Ids::MUDDY_MANGROVE_ROOTS), "Muddy Mangrove Roots", new BreakInfo(0.7, ToolType::SHOVEL)));
self::registerBlocksR13();
self::registerBlocksR14();
self::registerBlocksR16();