I'm incredibly new to Minecraft Forums, but here we go:
I'm making a way to show DNA replication and Protein Synthesis via command blocks. NOT just an animation that can be played once, but there must be interactions between blocks. I've attempted to test around with falling blocks, but I'd like some tips to assign certain falling blocks with molecule or element names. How can they test for touching each other? How can I make walls to prevent endlessly floating blocks? How can I do this?
The very latest versions of Minecraft (1.13 SNAPSHOT, Currently 17w50a) have added a bunch of conditional executions.
execute align -> execute
execute as -> execute
execute at -> execute
execute if block -> execute
execute if blocks all
execute if blocks all -> execute
execute if blocks masked
execute if blocks masked -> execute
execute if entity
execute if entity -> execute
execute if score <
execute if score < -> execute
execute if score <=
execute if score <= -> execute
execute if score =
execute if score = -> execute
execute if score >
execute if score > -> execute
execute if score >=
execute if score >= -> execute
execute offset -> execute
execute run ...
execute store result block byte -> execute
execute store result block double -> execute
execute store result block float -> execute
execute store result block int -> execute
execute store result block long -> execute
execute store result block short -> execute
execute store result entity byte -> execute
execute store result entity double -> execute
execute store result entity float -> execute
execute store result entity int -> execute
execute store result entity long -> execute
execute store result entity short -> execute
execute store result score -> execute
execute store success block byte -> execute
execute store success block double -> execute
execute store success block float -> execute
execute store success block int -> execute
execute store success block long -> execute
execute store success block short -> execute
execute store success entity byte -> execute
execute store success entity double -> execute
execute store success entity float -> execute
execute store success entity int -> execute
execute store success entity long -> execute
execute store success entity short -> execute
execute store success score -> execute
execute unless block -> execute
execute unless blocks all
execute unless blocks all -> execute
execute unless blocks masked
execute unless blocks masked -> execute
execute unless entity
execute unless entity -> execute
execute unless score <
execute unless score < -> execute
execute unless score <=
execute unless score <= -> execute
execute unless score =
execute unless score = -> execute
execute unless score >
execute unless score > -> execute
execute unless score >=
execute unless score >= -> execute
If you were to use an armor stand as your fixed point of reference, call it as an entity and use relative coordinates to it to check for blocks.
/execute as @e[name=fixed] if block ~1 ~ ~ minecraft:pink_concrete run say "pink concrete detected"
And you can chain them together.
/execute as @e[name=fixed] if block ~1 ~ ~ minecraft:pink_concrete if block ~2 ~ ~ minecraft:blue_concrete_powder run say "pink concrete detected beside blue"
Hey there!
I'm incredibly new to Minecraft Forums, but here we go:
I'm making a way to show DNA replication and Protein Synthesis via command blocks. NOT just an animation that can be played once, but there must be interactions between blocks. I've attempted to test around with falling blocks, but I'd like some tips to assign certain falling blocks with molecule or element names. How can they test for touching each other? How can I make walls to prevent endlessly floating blocks? How can I do this?
Thanks in Advance,
AlgebraManiacABC
CompuGenetics
More pictures
The very latest versions of Minecraft (1.13 SNAPSHOT, Currently 17w50a) have added a bunch of conditional executions.
If you were to use an armor stand as your fixed point of reference, call it as an entity and use relative coordinates to it to check for blocks.
And you can chain them together.