NorbiPeti 08a0badd37 Add support for setting cluster limit and remove the volume limit | 2 years ago | |
---|---|---|
BuildingTools | 2 years ago | |
.gitignore | 4 years ago | |
BuildingTools.sln | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 2 years ago |
Tools for building games, mainly focused on changing and displaying (F3) block properties.
Before changing any block with this mod, you need to select it in most cases. This is different than Gamecraft's box selection.
You can use all the commands starting with select
, they all have descriptions to help and should be self-explanatory otherwise.
You can also run the desired block command for a cluster with a given object ID by adding the identifier as the last parameter. In this case you don't need to select the blocks beforehand which can be useful in command computers.
Speaking of command computers, object signals can also be used, so if you have an object trigger set up and an object identifier enters that trigger, then all the blocks attached to it will be used as target blocks for the given block command that receives the signal.
To use this, add “Chan” at the end of the command name (like colorBlocksChan
).
The colorBlocks
command can color the selected blocks to the given color.
It works in both time stopped and running modes, although the color will not reset on time stop.
The darkness parameter is what can be selected in the game using Ctrl+<num>
by default.
0 means default color, then lightest to darkest.
Usage (The object ID is optional):
colorBlocks "<color> <darkness> [objectID]"
The usage for all other block commands are the following:
<command> "<x> <y> <z> [objectID]"
The scaleBlocks
command can be used to both scale and move the blocks so that the cluster stays together.
In this case, the block you're looking at is used as reference and won't be moved.
The scaleIndividually
command only scales the blocks but doesn't move them so you can see between them.
Both commands take a relative scale, so specifying “1 1 1” will not change anything and “2 2 2” will double the scale in all directions.
Note that block connections will not be updated until you reload the save.
The moveBlocks
command will move the selected blocks by the specified amount. Use 0.2 for one block of change in position.
In time stopped mode, this will not update block connections, just like the scale commands.
In time running mode, this will move the whole chunks the selected blocks are a part of.
The pushBlocks
and pushRotateBlocks
command will apply a specified (regular or angular) force to the selected blocks’ chunks.
The directions are global, so a positive value for Y means push upwards.
Only works in time running mode.
The pushPlayer
and pushRotatePlayer
commands will apply a specified (regular or angular) force to the player in any mode.
selectSelectedBlocks
moveBlocks "1 0 0"
selectBlocksLookedAt false
<Start time>
pushBlocks "0 10 0"
colorBlocks "blue 0 E"
(Can be filtered using an object filter)
colorBlocksChan "blue 0"