• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

WorldSchematics2/教程

来自Minecraft插件百科
跳转到导航 跳转到搜索

战利品

Loot:
#有几率在箱子内放置1-5个石头
  SomeItemNameHere:
    Type: item
    Material: STONE
    Chance: 80
    MinAmount: 1
    MaxAmount: 5
  #有几率在箱子内放置1-5个草方块
  SomeItemNameHere2:
    Type: item
    ID: 2
    Chance: 50
    MinAmount: 1
    MaxAmount: 5
  SomeItemNameHere3:
    Type: item
    Material: WOOL
    Chance: 20
    MinAmount: 1
    MaxAmount: 5
  #h有几率在箱子内放置自定义属性的剑
  AwesomeDamagedOverpoweredSword:
    Type: item
    Material: DIAMOND_SWORD
    Data: 5
    Display: "强者之刃"
    Lore:
    -"KILLS EVERYTHING"
    -"AHHHHHH"
    Enchantments:
    - DAMAGE_ALL:2
    - DURABILITY:5
    - KNOCKBACK:5
    HideAttributes: true
    Unbreakable: true
    Chance: 1
    MinAmount: 1
    MaxAmount: 1
Options:
  #MaxItems - 放入宝箱内最大物品格子数
  #MinItems - 放入宝箱内最小物品格子数
  MaxItems: 15
  MinItems: 2

主配置

#不要改变版本信息
ConfigVersion: 1.0
#如果设置为true, 就可以在控制台中看到建筑生成的坐标
ShowLocation: true
#在控制台显示调试信息
debug: false
#当这个设置为true, 以下设置也可以启用
debugOptions:
  debugLootTables: false
  debugSchematicInfo: false
  debugSchematicSpawning: false
  debugMobSpawning: false
  debugWorldGeneration: false

方块数据配置

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

==