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

@ -334,6 +334,7 @@ use function assert;
* @method static Potion STRONG_TURTLE_MASTER_POTION()
* @method static SplashPotion STRONG_TURTLE_MASTER_SPLASH_POTION()
* @method static Item SUGAR()
* @method static SweetBerries SWEET_BERRIES()
* @method static Potion SWIFTNESS_POTION()
* @method static SplashPotion SWIFTNESS_SPLASH_POTION()
* @method static Potion THICK_POTION()
@ -700,6 +701,7 @@ final class VanillaItems{
self::register("strong_turtle_master_potion", $factory->get(373, 39));
self::register("strong_turtle_master_splash_potion", $factory->get(438, 39));
self::register("sugar", $factory->get(353));
self::register("sweet_berries", $factory->get(477));
self::register("swiftness_potion", $factory->get(373, 14));
self::register("swiftness_splash_potion", $factory->get(438, 14));
self::register("thick_potion", $factory->get(373, 3));