u/Dorick_Da_Lazy

RNG machine without chat output

I am currently using

execute as @s store result score @s M_CC_Blue run random roll 1..14

And it works, however, it has an output in the chat, even though i have the commandblockoutput gamerule to false

If there is not a way around the output, any suggestions for a better RNG system would be appreciated

Context: I have a sign that runs the aforementioned command that will later be read to display a message instructing the player on what to do next biased on what number is generated (I have an idea of using a shulker box randomizer into a redcoder, but I've done it before and I'd rather do something different this time)

reddit.com
u/Dorick_Da_Lazy — 4 days ago

Changing just the trims of armor

I have been looking everywhere on how to do this but, I need a way to just change the trim of armor or the trim material, but not the other. My goal is to have a player place a template in one shulker and a material in another and have that decide the armor trim and material respectively. My problem comes in the fact that I can only think of a way that would require almost 200 commands of /execute if [selected material] if [selected template] (not accurate, but the general idea). I've been trying to get /data modify/merge to work, but i haven't been able to figure out how it works, any help is apricated

reddit.com
u/Dorick_Da_Lazy — 1 month ago

I'm looking for a way to detect if a player has an item in the inventory or the hotbar, but when I use \@a[predicate=(my predicate),predicate=(my predicate)]` it says "no player was found", but if i take the second predicate out it works fine, I know I can use two separate commands, but I'd not to if possible, I'm using a tellraw command to test the predicates

reddit.com
u/Dorick_Da_Lazy — 1 month ago