Entities

How are entities used

Entities are summoned as an optional action.

Entities in actions are listed like so:

"actions": {
  "0": {
    "action": "SPAWN_ENTITY",
    "entity": {
      "plugin": "<plugin>", //Can be Minecraft, MythicMobs, ItemsAdder
      "name": "<name>"
    },
    "offset": {
      "x": 0.0,
      "y": 0.0,
      "z": 0.0
    }
  }
}

Below is explain what to put in <plugin> and <name>

Minecraft

"entity": {
  "plugin": "Minecraft",
  "name": "<type>" //Get from https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
}

ItemsAdder

"entity": {
  "plugin": "ItemsAdder",
  "name": "<namespace:id>"
}

MythicMobs

"entity": {
  "plugin": "MythicMobs",
  "name": "<name>"
}

Last updated