-
Notifications
You must be signed in to change notification settings - Fork 5
Boss Information
Brian Wuest edited this page Jun 28, 2020
·
5 revisions
This page contains the full property information for the "bossInfo" section of the spawn information file. A "bossInfo" object contains the following properties.
Please note that casing is important. If you miss capitalization on any of the properties they will not be loaded correctly.
- domain (Required): This is the monster's registered domain. This is typically the mod_id. Examples: minecraft
- name (Required): This is the monster's registered game name. This will not be the display name. Examples: zombie
- displayName (Optional): This property contains the custom display name to show above the monster's head.
- maxHealth (Optional): This property changes the monster's maximum health.
- attackDamage (Optional): This property changes the monster's attack damage.
- alwaysShowDisplayName (Optional): Determines if the nameplate for this monster is always shown.
- timeToWaitBeforeSpawn (Optional): The number of ticks (NOT SECONDS) to wait before this monster is spawned. Defaults to 20 ticks (1 second) if not provided.
- additionalDrops (Optional): This is an object array of "dropInfo" objects. These are additional drops which can be spawned with the monster when it dies in addition to the monster's normal loot pool. Please see the Drop Information page for details.
- commandToRunAtSpawn (Optional): This property contains the minecraft command to run at spawn. This runs the command at the same permission level available to command blocks. So if a command block cannot run a command; neither can this spawn. Note: There can only ever be a single command run for a spawn. Commands cannot be chained.
- nbt (Optional): "Custom NBT data for this entity spawn. This will allow you to overwrite ANY data associated with this monster.
{
"domain": "minecraft",
"name": "zombie",
"displayName": "Tuff Zombie!",
"maxHealth": 100,
"attackDamage": 50,
"alwaysShowDisplayName": false,
"timeToWaitBeforeSpawn": 200,
"additionalDrops": [{}],
"commandToRunAtSpawn": "/weather thunder",
"nbt": {}
}