Skip to content

TrialSpawnerConfigs 5.47.0 ​

final class · pocketmine\block\trialspawner\TrialSpawnerConfigs · source

The vanilla trial spawner configs ("minecraft:trial_chamber/melee/zombie/normal"...) that trial chamber spawners refer to by name.

Methods ​

get() ​

php
public static function get(string $name) : ?\pocketmine\block\trialspawner\TrialSpawnerConfig

Returns the vanilla config with the given name, or null if there is none.

getDefault() ​

php
public static function getDefault() : \pocketmine\block\trialspawner\TrialSpawnerConfig

The config of a spawner that has none (spawns nothing until a spawn egg is used on it).

getNames() ​

php
public static function getNames() : array

VanillaMine is a fork of PocketMine-MP. Not affiliated with the PMMP team or Mojang.