-
Notifications
You must be signed in to change notification settings - Fork 55
Spawner Settings
Brian Rivas edited this page Oct 17, 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
- potentials : Array - SpawnPotential
- weight : Integer - weighted random chance for this spawner replacement. (default: 1)
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 : false) (set to false to disable procedural equipment)
- nbt : String - nbt tag for mob to spawn
- 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