40 case LONG_NIGHT_VISION;
42 case LONG_INVISIBILITY;
47 case LONG_FIRE_RESISTANCE;
50 case STRONG_SWIFTNESS;
54 case LONG_WATER_BREATHING;
63 case LONG_REGENERATION;
64 case STRONG_REGENERATION;
72 case LONG_TURTLE_MASTER;
73 case STRONG_TURTLE_MASTER;
75 case LONG_SLOW_FALLING;
85 return $cache[spl_object_id($this)] ??= match($this){
86 self::WATER => [
"Water", fn() => []],
87 self::MUNDANE => [
"Mundane", fn() => []],
88 self::LONG_MUNDANE => [
"Long Mundane", fn() => []],
89 self::THICK => [
"Thick", fn() => []],
90 self::AWKWARD => [
"Awkward", fn() => []],
91 self::NIGHT_VISION => [
"Night Vision", fn() => [
94 self::LONG_NIGHT_VISION => [
"Long Night Vision", fn() => [
97 self::INVISIBILITY => [
"Invisibility", fn() => [
100 self::LONG_INVISIBILITY => [
"Long Invisibility", fn() => [
103 self::LEAPING => [
"Leaping", fn() => [
106 self::LONG_LEAPING => [
"Long Leaping", fn() => [
109 self::STRONG_LEAPING => [
"Strong Leaping", fn() => [
112 self::FIRE_RESISTANCE => [
"Fire Resistance", fn() => [
115 self::LONG_FIRE_RESISTANCE => [
"Long Fire Resistance", fn() => [
118 self::SWIFTNESS => [
"Swiftness", fn() => [
121 self::LONG_SWIFTNESS => [
"Long Swiftness", fn() => [
124 self::STRONG_SWIFTNESS => [
"Strong Swiftness", fn() => [
127 self::SLOWNESS => [
"Slowness", fn() => [
130 self::LONG_SLOWNESS => [
"Long Slowness", fn() => [
133 self::WATER_BREATHING => [
"Water Breathing", fn() => [
136 self::LONG_WATER_BREATHING => [
"Long Water Breathing", fn() => [
139 self::HEALING => [
"Healing", fn() => [
142 self::STRONG_HEALING => [
"Strong Healing", fn() => [
145 self::HARMING => [
"Harming", fn() => [
148 self::STRONG_HARMING => [
"Strong Harming", fn() => [
151 self::POISON => [
"Poison", fn() => [
154 self::LONG_POISON => [
"Long Poison", fn() => [
157 self::STRONG_POISON => [
"Strong Poison", fn() => [
160 self::REGENERATION => [
"Regeneration", fn() => [
163 self::LONG_REGENERATION => [
"Long Regeneration", fn() => [
166 self::STRONG_REGENERATION => [
"Strong Regeneration", fn() => [
169 self::STRENGTH => [
"Strength", fn() => [
172 self::LONG_STRENGTH => [
"Long Strength", fn() => [
175 self::STRONG_STRENGTH => [
"Strong Strength", fn() => [
178 self::WEAKNESS => [
"Weakness", fn() => [
181 self::LONG_WEAKNESS => [
"Long Weakness", fn() => [
184 self::WITHER => [
"Wither", fn() => [
187 self::TURTLE_MASTER => [
"Turtle Master", fn() => [
191 self::LONG_TURTLE_MASTER => [
"Long Turtle Master", fn() => [
195 self::STRONG_TURTLE_MASTER => [
"Strong Turtle Master", fn() => [
199 self::SLOW_FALLING => [
"Slow Falling", fn() => [
202 self::LONG_SLOW_FALLING => [
"Long Slow Falling", fn() => [
205 self::STRONG_SLOWNESS => [
"Strong Slowness", fn() => [
211 public function getDisplayName() :
string{
return $this->
getMetadata()[0]; }