- Event Command Blocks
Event Command Blocks will be red command blocks that trigger when the specified entity (or group of entities) triggers the specified event, for example, when a player named Stever123 breaks a block, Optionally, you can give specific data you want the event to be triggered with, an example is specifying what cordnates the break block event should happen at, You can't make these command blocks run commands though, When the specified event is triggered by the specified entity(s), the command block passes a success to the chain command blocks infront of it.
- Math Command Blocks
Light blue command blocks that calculate stuff when activated, These can use special objects to reference stuff, for example, if you set a Math Command Block to calculate "1+{command:'/random roll 2..5'}", it will add 1 to the result of the command:
/random roll 2..5
Math Command Blocks have 2 modes: Pass and Value
Value mode passes a success if the equation results in the desired value
Pass mode passes the result of the equation (meaning the value of it, for example, if it's 2x3, the value is 6) to the next command block in the chain, The passed value can be referenced anywhere using @v
- Value Command Blocks
Value Command Blocks are yellow, and they get the value of the specified command and/or namespace
These have the same 2 modes Math command blocks do, and they work the same as well
Pass mode passes the value, Value mode fails if the namespace/command does not result in the desired value.
1 Comments
Please sign in to leave a comment.
Post a new comment: