HostileMobs 5.46.0
Registration of the mobs of phase 3 (hostile mobs of the Overworld, the Nether and the End, plus the strider, camel husk and sulfur cube): their save IDs in EntityFactory and their spawn egg factories in EntitySpawnRegistry. Kept in one place so that the shared registries only need one line each.
Natural spawning of these mobs is not implemented yet.
Methods
getMobs()
php
public static function getMobs() : arrayBedrock identifier => [class, legacy PocketMine save name, factory].
registerEntities()
php
public static function registerEntities(\pocketmine\entity\EntityFactory $factory) : voidregisterSpawnFactories()
php
public static function registerSpawnFactories(\pocketmine\entity\EntitySpawnRegistry $registry) : void