Other commands
Here you can learn about other commands, which do not fit into any category.
Contents
Hide
Command hide
hides the asteroid and only its fobs remain.
This command doesn't have any parameters.
catch # 200 summon hole 20
catch # 1
summon asteroid 9 5
hide
Setbiome
Command setbiome
replaces the already set type of an asteroid with the biome generation for the specific asteroid size.
It has the following structure:
setbiome [biome-id]
For example if you type command setbiome 6
, the asteroid will forget about its type and generate as a cementery asteroid.
Here is the code, which generates a line of such asteroids:
catch # 200 summon hole 50
catch # 1-8
summon asteroid 7 0
setbiome 6
move -35 0 mod 10 0
Biome IDs can be found in your datapack in the generator_settings segment.
Instant
Command instant
forces the object to always spawn in the same frame as the whole structure.
Note, that using this on many objects may cause some lag spikes.
This command doesn't have any parameters.