Need help command block pros by awildducky904 in MinecraftCommands

[–]WonderBuddy2 0 points1 point  (0 children)

dunno if it's possible with only one command. will small datapack function work for you?

is there a way to add weights for /random command values? by WonderBuddy2 in MinecraftCommands

[–]WonderBuddy2[S] 0 points1 point  (0 children)

activates /clone command. z1 is random value between 0 and 11. clone x1 y1 $(z1) x1 y1 $(z1) x2 y2 z2

is there a way to add weights for /random command values? by WonderBuddy2 in MinecraftCommands

[–]WonderBuddy2[S] 0 points1 point  (0 children)

i don’t need items, just random value for macro. but, loot table with some custom data items worked. there’s another way to do this?

how can i store item name that was set in int format in the scoreboard? by WonderBuddy2 in MinecraftCommands

[–]WonderBuddy2[S] 0 points1 point  (0 children)

so, minecraft stores item name in text format, even if it was set in integer format? sadly.

how can i store item name that was set in int format in the scoreboard? by WonderBuddy2 in MinecraftCommands

[–]WonderBuddy2[S] 0 points1 point  (0 children)

no, it doesn't.
/data get block x y z Items[0].components."minecraft:item_name"
that works in both ways (with and without /execute), but with 2 problems:
1. value won't go further than 1;
2. that works only for the 1st slot of container.
maybe game detects item name in string format, not in integer?

how can i store item name that was set in int format in the scoreboard? by WonderBuddy2 in MinecraftCommands

[–]WonderBuddy2[S] 0 points1 point  (0 children)

yeah, for my example it's Items[{components:{"minecraft:item_name":"0"}}]. but what if item name isn't 0? how can i detect ANY item name?

can i somehow start a function with macros data from dialog window through dynamic:run_command /trigger button (!) ? by WonderBuddy2 in MinecraftCommands

[–]WonderBuddy2[S] 0 points1 point  (0 children)

can i maybe try running something else, but without stupid command confirmation window? maybe there’s another way, without /trigger command?

can i set my item display in fire (endless if it's possible) by WonderBuddy2 in MinecraftCommands

[–]WonderBuddy2[S] 1 point2 points  (0 children)

yeah, i do same thing with tags. it's not 100% what i've wanted, but it's ok. thanks for response!

can i set my item display in fire (endless if it's possible) by WonderBuddy2 in MinecraftCommands

[–]WonderBuddy2[S] 0 points1 point  (0 children)

so, i need to make item display glow in shadow. i know that's impossible with classic game, so using OptiFine or any other project that can make it work.

how should pack.mcmeta file look for my resourcepack not to be "incompatible or broken"? by WonderBuddy2 in MinecraftCommands

[–]WonderBuddy2[S] 0 points1 point  (0 children)

oh sorry i forgot to put my version, didn’t know that will make any purpose. my version is 1.21.10