Wiki 9Minecraft Wiki 9Minecraft

Spawner Settings

Java EditionModGuides 4FAQ 9Gallery 5Related mods 60
DownloadRoguelike Dungeons

Get the files on 9Minecraft

Contents (6)
  1. Spawner Setting
  2. Structure
  3. SpawnerType
  4. SpawnPotential (Object)
  5. Strucure
  6. MobIDStrings

Spawner Setting

A spawner setting maps spawn potentials to a spawner type. Spawn potentials are embedded into the vanilla spawner NBT data.

Structure

  • Object
    • type : String - SpawnerType
    • potentials : Array - SpawnPotential
    • weight : Integer - weighted random chance for this spawner replacement. (default: 1)

SpawnerType

SpawnerType refers to a set of enum constants defined in Roguelike Dungeons:

CREEPER, CAVESPIDER, SPIDER, SKELETON, ZOMBIE, SILVERFISH, ENDERMAN, WITCH, LAVASLIME, BLAZE, SLIME, PIGZOMBIE

SpawnPotential (Object)

A weighted spawn potential is a possible mob to be generated by a spawner.

Strucure

  • 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)

MobIDStrings

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