Minion Layout

Minion Layouts explanation

This is an easy tutorial of how does work the area of each minion.

Block Break Layout:

/plugins/TheMinions/minions/diamond_minion.yml
minion-layout:
  type: TWO_X_TWO
  toReplaceBlock: DIAMOND_ORE
  materialThatCauseException:
  - DIRT
  allMaterialsCauseExceptionExcept:
  - COBBLESTONE
  - STONE
  - DIAMOND_ORE
  • type: this is the area around where minion will look for, it can be TWO_X_TWO or THREE_X_THREE

  • toReplaceBlock: this is the block that minion will place in the selected position

  • materialThatCauseException: if minion has one of these materials around it will cause an exception

  • allMaterialsCauseExceptionExcept: if minion has a material that doesn't be here it will cause an exception

Crop Break Layout:

/plugins/TheMinions/minions/wheat_minion.yml
minion-layout:
  type: TWO_X_TWO
  toReplaceBlock: FARMLAND
  toReplaceCrop: WHEAT
  materialThatCauseException:
  - STONE
  allMaterialsCauseExceptionExcept:
  - DIRT
  - FARMLAND
  • toReplaceCrop: this is the crop that minion will plant in the selected position

Mob Killer Layout:

Vanilla Mobs Example:

Mythic Mobs Example:

  • minionMob.displayName: if the entity to look for should have a specific name (only for vanilla mobs)

  • minionMob.entityType: the type of entity to look for

  • minionMob.isFromMythicMobs: if the entity to look for is from MythicMobs

  • minionMob.id: the id of the entity from MythicMobs

Last updated