-
Notifications
You must be signed in to change notification settings - Fork 55
Spawner Settings
Brian Rivas edited this page Oct 16, 2017
·
18 revisions
A spawner setting maps spawn potentials to a spawner type. Spawn potentials are embedded into the vanilla spawner NBT data.
- Object
- type : String - SpawnerType
- spawns : Array - SpawnPotential
SpawnerType refers to a set of enum constants defined in Roguelike Dungeons:
CREEPER, CAVESPIDER, SPIDER, SKELETON, ZOMBIE, SILVERFISH, ENDERMAN, WITCH, LAVASLIME, BLAZE, SLIME, PIGZOMBIE
A weighted spawn potential is a possible mob to be generated by a spawner.
- Object
- "name" : String (required) (MobIDString)
- "equip" : boolean (optional - default : true) (set to false to disable roguelike equipment)
- "meta" : Object (optional) (NBTCompound - custom mob nbt data)
- "weight" : Integer (optional - default : 1)
The simplest way to test what's a valid MobIdString is to go into the game and type /summon <mobid> ~0 ~1 ~0
where <mobid>
is the ID you want to test.
A list of vanilla MobIDStrings can be found here