Skip to content
Xemor edited this page Mar 17, 2021 · 2 revisions

BlockRaySkill

Extract from the stock hero, Floral. blocksToPlace denotes the blocks that will be randomly placed. blocksToReplace are the target blocks that will be removed in favour of the blocksToPlace. blockRayMode denotes the way the blocks will be placed and/or replaced. The three options are ABOVEBLOCK, CLOSERBLOCK, THEBLOCK

ExampleHero:
  colouredName: "ExampleHere"
  description: "Example"
  skills:
    flowerPlacer1:
      skill: BLOCKRAY
      blocksToPlace:
        - POPPY
        - DANDELION
        - BLUE_ORCHID
        - OXEYE_DAISY
        - PINK_TULIP
        - WHITE_TULIP
        - RED_TULIP
        - ORANGE_TULIP
        - LILY_OF_THE_VALLEY
        - AZURE_BLUET
        - ALLIUM
      blocksToReplace:
        - GRASS_BLOCK
        - AIR
      blockRayMode: ABOVEBLOCK
      maxDistance: 20