-
Notifications
You must be signed in to change notification settings - Fork 5
Example: Schematic Blockdata Config File
robotnikthingy edited this page Sep 29, 2017
·
2 revisions
BlockData files are automatically generated by the plugin for new schematics when the plugin is reloaded or when the plugin tries to spawn the new schematic. This file allows you to tell the plugin what Loot to load chests with, and how to set up spawners. Spawners can also be replaced with MythicMob spawners, or be replaced by an actual mob from MythicMobs when the schematic is spawned.
Blocks:
BlockNBT1:
#type - tells the plugin type of block this is. Can be spawner or container. if you have MythicMobs installed, you can change
#also use mythicmob or mythicspawner, examples seen below
type: spawner
#don't touch these, these tell the plugin where the block is located in the schematic
x: 4
y: 1
z: 6
mobs:
- ZOMBIE
- ENDERMAN
- CREEPER
#any additional properties or options would go here, otherwise you can leave it blank
properties: {}
#this is just a regular container such as a chest or trapped chest, and will only contain whatever it contained when the schematic was created
BlockNBT2:
type: container
x: 4
y: 2
z: 0
loottables: {}
properties: {}
#this is a regular spawner
BlockNBT3:
type: spawner
x: 4
y: 1
z: 6
mobs:
- ZOMBIE
- ENDERMAN
- CREEPER
properties:
#these properties do not need to be included if not needed, and dont need to be added to the config file if you dont need to use them
#cooldown - sets the cooldown time for the spawner
cooldown: 10
#when type is changed to 'mythicmob' the spawner block will be replaced by air and a mob from MythicMobs will be spawned in its place when the schematic is spawned
BlockNBT4:
type: mythicmob
x: 4
y: 10
z: 2
#The plugin will randomly select a mob from this list to spawn
mobs:
- ZombieKing
- SkeletonLord
properties:
#these properties do not need to be included if not needed, and dont need to be added to the config file if you dont need to use them
#mobelevel - sets the level of the mob when spawned
#amount - sets the amount of the mob which will be spawned
moblevel: 2
amount: 3
#when type is changed to 'mythicspawner', the spawner block will be replaced by air, and a MythicMobs spawner will be created in its place
BlockNBT5:
type: mythicspawner
x: 0
y: 1
z: 0
#The plugin will randomly select a mob from this list and set the spawner to spawn it
mobs:
- LesserSkeleton
- ZombieMinion
- SkeletonMinion
properties:
#uses all properties from the MythicMobs spawners found here http://www.mythicmobs.net/manual/doku.php/databases/spawners/spawners
#these properties do not need to be included if not needed, and dont need to be added to the config file if you dont need to use them
checkforplayers: true
cooldown: 27
group: HerpDerps
healonleash: true
leashrange: 8
maxmobs: 5
moblevel: 3
mobsperspawn: 2
radius: 15
showflames: true
#This is an example of a chest which is set up to be filled with loot from a loot table
BlockNBT6:
type: container
x: 0
y: 2
z: 4
#loot tables go here. loot table .yml files are placed in the WorldSchematics2\LootTables folder.
#you just need to put the name of the loot table file in the list below and the plugin will randomly choose one
#from the list
loottables:
- EpicLoot1
- EpicLoot2
- EpicLoot3
properties:
#these properties do not need to be included if not needed, and dont need to be added to the config file if you dont need to use them
#if set to true, the chest will be emptied of its contents if it had any, and then be loaded with loot from one of the loot tables
OverwriteContents: true