Marker Tutorial: Setting up mobs to spawn - robotnikthingy/WorldSchematics2 GitHub Wiki

You can use Markers to place Mobs or Mythicmobs which will be created when a Schematic is spawned in the world. When the schematic is created, the marker signs will instead be replaced by the Mob or MythicMob

Configuring the -blockdata.yml file to spawn a Mob

Building on the example from the first tutorial, here is how we would set up the -blockdata config file to replace both markers to spawn a Zombie.

By changing to subtype to MOB, we let the plugin know that we want that marker to be replaced by a mob when the schematic is created. Then we put the mob we want spawned in the mobs section. If there is more than one mob listed, one mob will be chosen at random from the list

Blocks:
  Marker1_MyMarkerBottom:
    type: marker
    subtype: MOB
    x: 2
    y: 1
    z: 4
    properties: {}
    mobs:
    - ZOMBIE
  Marker2_MyMarkerTop:
    type: marker
    subtype: MOB
    x: 2
    y: 6
    z: 0
    properties: {}
    mobs:
    - ZOMBIE

properties section

The properties section is where you can add further options to customize the mob. For regular mobs, the following properties are available:

amount: <number> - how much of this mob should we place at the marker

example: the config below will spawn 5 zombies

  Marker2_MyMarkerTop:
    type: marker
    subtype: MOB
    x: 2
    y: 6
    z: 0
    properties:
      amount: 5
    mobs:
    - ZOMBIE

Configuring the -blockdata.yml file to spawn a MythicMob

If you have the MythicMobs plugin installed, you can tell WorldSchematics to place a Mob from MythicMobs at the location of the marker

Building on the example from the first tutorial, here is how we would set up the -blockdata config file to replace both markers to spawn a Skeleton King.

By changing to subtype to MYTHICMOB, we let the plugin know that we want that marker to be replaced by a mob when the schematic is created. Then we put the mob we want spawned in the mobslist section. If there is more than one mob listed, one mob will be chosen at random from the list

Blocks:
  Marker1_MyMarkerBottom:
    type: marker
    subtype: MYTHICMOB
    x: 2
    y: 1
    z: 4
    properties: {}
    mobs:
    - SkeletonKing
  Marker2_MyMarkerTop:
    type: marker
    subtype: MYTHICMOB
    x: 2
    y: 6
    z: 0
    properties: {}
    mobs:
    - SkeletonKing
      

properties section

The properties section is where you can add further options to customize the mob. For MythicMobs, the following properties are available:

moblevel: <level> - sets the level of the mob when spawned

amount: <number> - sets the amount of the mob which will be spawned

  Marker2_MyMarkerTop:
    type: marker
    subtype: MYTHICMOB
    x: 2
    y: 6
    z: 0
    properties:
      moblevel: 2
      amount: 5
    mobs:
    - SkeletalMinion
⚠️ **GitHub.com Fallback** ⚠️