Information

Spigot page

¿What the plugin does?

BlocksToCommand is a plugin that allows you to import from an area the needed setblocks to copy it, it is useful for creating structures that will be built block per block.

Example

dontcopythis:
  dontcopythis:
    playerCommands:
   - execute at %player% run setblock %block_x_int%+1 %block_y_int%+0 %block_z_int%-3
      minecraft:grass
    - DELAYTICK 1
    - execute at %player% run setblock %block_x_int%-3 %block_y_int%+0 %block_z_int%-2
      minecraft:grass
    - DELAYTICK 1
    - execute at %player% run setblock %block_x_int%-1 %block_y_int%+0 %block_z_int%-2
      minecraft:grass
    - DELAYTICK 1
    - execute at %player% run setblock %block_x_int%+1 %block_y_int%+0 %block_z_int%-2
      minecraft:grass_block[snowy=false]
    - DELAYTICK 1
    - execute at %player% run setblock %block_x_int%+2 %block_y_int%+0 %block_z_int%-2
      minecraft:grass
    - DELAYTICK 1
    - execute at %player% run setblock %block_x_int%-3 %block_y_int%+0 %block_z_int%-1
      minecraft:grass
    - DELAYTICK 1
    - execute at %player% run setblock %block_x_int%-1 %block_y_int%+0 %block_z_int%-1
      minecraft:grass
    - ..........
    - and so on until it copies every block of the area selected

Usability

Ssomar plugins

This plugin was mainly done to achieve Custom Structures Building such as the Free_Hut inside [Default Items/Builds] for EB that builds a Hut 🛖 block per block, to make something similar you would need to write every setblock needed, it would take a very long time, this plugin wants to save you that time.

  • This works with either EI | EE | EB .

  • It also imports EB and ItemsAdder (from EB) in the area of blocks.

It can be used outside the previous plugins, it brings you the needed setblocks, they may be useful.

Last updated