Crates.io | ribosome |
lib.rs | ribosome |
version | 0.1.2 |
source | src |
created_at | 2020-03-07 11:16:12.347892 |
updated_at | 2020-03-07 12:58:33.539906 |
description | structure.nbt-to-mcfunction converter |
homepage | https://github.com/oOBoomberOo/ribosome |
repository | https://github.com/oOBoomberOo/ribosome |
max_upload_size | |
id | 216301 |
size | 21,698 |
Ribosome is a command-line application that convert structure.nbt
file into mcfunction
file to help making multi-block detection system easier.
cargo install ribosome
ribosome --help
command.ribosome
program with the configuration you need.scoreboard players set #structure.pass ffi.ribosome 1
execute if score #structure.pass ffi.ribosome matches 1 unless block ~0 ~0 ~0 minecraft:cobblestone_stairs run scoreboard players set #structure.pass ffi.ribosome 0
#structure.pass ffi.ribosome
will be set to 1 if the location you're running this command from; contain this structure. And will be 0 otherwise.This can be found when running ribosome --help
as well.
Run the program with these arguments to enable these options.
-v
, --ignore-air
)-n
, --ignore-nbt
)-b
, --ignore-block-state
)-m <mode>
, --mode <mode>
)corner
.
corner
, the origin of structure is in the north-west most corner of structure file.center
, the origin of structure is at exactly the center of structure in all axis.center_top
, similar to center
but the y-axis will be the top most block instead.center_bottom
, similar to center
but the y-axis will be the bottom most block instead.-t <name>
, --target <name>
)#structure.pass
.-o <name>
, --objective <name>
)ffi.ribosome
.