Skip to content

Version 1.5

Latest
Compare
Choose a tag to compare
@ryandw11 ryandw11 released this 29 Jun 00:40
· 153 commits to master since this release

Download

Please download this plugin on Spigot

Changes

Structure System

The entire structure system has been changed. Instead of all the structure settings being in the config, each structure has their own yaml file. These files are located in the structures folder. 1.5 has an automatic conversion feature, all you need to do is start the server with the new version. Please see this wiki page on converting 1.4 to 1.5 for more information

Here is a structure file with all of the options enabled.

schematic: 'demo.schem'

Chance:
  Number: 1
  OutOf: 500

StructureLocation:
  Worlds:
    - world
  SpawnY: top
  Biome: 'all'

StructureProperties:
  PlaceAir: true
  randomRotation: false
  ignorePlants: true
  spawnInWater: true
  spawnInLavaLakes: true

StructureLimitations:
  whitelistSpawnBlocks:
    - GRASS_BLOCK
    - Dirt
    - Stone
    - air

  # This could cause issue with lag depending on how large the search area is.
  BlockLevelLimit:
    mode: flat
    cornerOne:
      x: 5
      z: 5
    cornerTwo:
      x: -5
      z: -5

  # This could cause issues with lag depending on how many blocks you have
  # to replace.
  replacement_blocks:
    'STONE': 'AIR'

#List of lootTables for this Schematic, name and weight
#Weight determines how often it will be chosen out of all the entries in the list.
LootTables:
  lootTable: 5

Replacing Blocks

You can now replace blocks with other blocks. As you can see in the example above the format is:

  replacement_blocks:
    'STONE': 'AIR'

You can put an unlimited amount of blocks to replace. Please keep in performance in mind when using this feature

Custom Items

You can now put custom items in the loot tables. The following commands relates to custom items:

/cstructure additem {key}
/cstructure checkkey
/cstructure getitem {key}

Then put them in loot tables by doing the following:

  item3:
    Type: 'CUSTOM'
    Key: '{key}'
    Amount: 5
    Weight: 20

Disclaimer on custom items: Due to the way the Spigot api works, it is likely that items saved in one version will not work on any other version. This is due to the Item version system used internally by minecraft.

Creating Schematics in Game

You can now create schematics and have them automatically go into the customstructures/schematics folder.
This is done via the /cstructure createschem {name} command.
You must first make a world edit select, then just run that command. No //copy needed.

Creating Default Structures in Game

You can now create structures with the default settings in game.
This is done via the /cstructure create {name} {schematic} command.

Bug Fixes

  • Mobs will no longer despawn the moment they are spawned in.

Reporting Bugs

Please submit all bugs here (Please enable debug mode in the config)