Implemented sweet berries (#4164)

this doesn't implement the server-side logic for the "stickiness" (slowdown) because we don't have the system needed for it yet.
It also doesn't have parity with vanilla on the damage.
This commit is contained in:
Angel
2021-07-19 15:01:33 -04:00
committed by GitHub
parent f64ef50ce3
commit 309bed414f
7 changed files with 210 additions and 3 deletions

View File

@ -545,6 +545,7 @@ use function assert;
* @method static Wood STRIPPED_SPRUCE_WOOD()
* @method static Sugarcane SUGARCANE()
* @method static DoublePlant SUNFLOWER()
* @method static SweetBerryBush SWEET_BERRY_BUSH()
* @method static TallGrass TALL_GRASS()
* @method static TNT TNT()
* @method static Torch TORCH()
@ -1107,6 +1108,7 @@ final class VanillaBlocks{
self::register("stripped_spruce_wood", $factory->get(467, 9));
self::register("sugarcane", $factory->get(83, 0));
self::register("sunflower", $factory->get(175, 0));
self::register("sweet_berry_bush", $factory->get(462, 0));
self::register("tall_grass", $factory->get(31, 1));
self::register("tnt", $factory->get(46, 0));
self::register("torch", $factory->get(50, 5));