The If and Unless conditions for Minecraft Commands are incredibly useful tools for mapmakers and command block users alike, so I propose a bonus sub condition to them called "any" followed by curly brackets to which inside the curly brackets would have the standard selection of blocks, biomes, etc... which would allow players to reduce the amount of command blocks that they might need per project that they work on, simplify the need for multiple If and unless conditions by allowing players to have "If/unless any{} verses having "If (selected object) If (selected object) Unless (selected object)" which requires both if statements to be true instead of if any of the following which would only require a single condition which would allow more ease of use for commands and even more creative uses for these commands in the future, in return potentially reducing lag on worlds or servers that have multiple high end command block systems with the potential reduction of multiple command blocks.
Multiple examples of the any sub condition:
Example 1 (If block): /execute as (player selector) at (player selector) if/unless block ~ ~-1 ~ any{grass_block,sand,gravel} run effect give (player selector) speed
Example 2 (If biome): /execute as (player selector) at (player selector) if/unless biome ~ ~ ~ any{swamp,desert,taiga} run effect give (player selector) slowness
Through these small additions new players could learn commands easier and old players can have a simplified way to create things.
Please sign in to leave a comment.
0 Comments