The hardest thing I can think of is creating an entry in storage for each player, then dynamically matching each player to their respective entry. You can set the player's UUID to a given entry and check for a match, but is there an option that then lets you dynamically target that matching entry (since it can't be targeted like entities can)?
Is it possible to open a world to lan using commandblocks bc /publish doesnt work (at least not like in chat) its not to important just thought id be kinda nice that the world around doesnt frezze when you open a BOOK. why mojang?
This isn't multiplayer friendly right? If two players compare items at the same time, the system will mess up. Is there a way to make this multiplayer friendly?
@@samutheoneandonly3876 not if the commands r run inside a function and the function is called as @a. it will do all commands in the function seperately per player
@@Cl0udWolf i've tried this method but nothing happens .... i've failed something? data remove storage test1 temp data modify storage test1 temp set from block -84 60 -38 execute store success score %bool global run data modify storage test1 temp set from block -84 60 -40 execute if score %bool global matches 0 run say Matched (the version whit the armor stand was working)
@Sploshwazere Hmm, sorry for that im on vacaruon in france and the wifi isn't good here, it gave me An error first time so i tried it again very weird...
I didn't even know something like this was even possible with vanilla commands, well Done!
Damn, that super smart. Well done
I said out loud "oooh that's really smart" and my sister on another floor heard
i stepped upon this video a while ago, thinking it might be useful in the future, so i saved it down. I'm glad i did that XD
The hardest thing I can think of is creating an entry in storage for each player, then dynamically matching each player to their respective entry. You can set the player's UUID to a given entry and check for a match, but is there an option that then lets you dynamically target that matching entry (since it can't be targeted like entities can)?
Ah great! I even understood!
That's awesome. Didnt even know about storage
Can you do a datapack tutorial for player ids for multiplayer and how you can use the player I'd to give each the same armor stand or something.
Minecraft Fanatic maybe. I’ve been meaning to do a minigame tutorial series and that would def need to be covered
That would be nice
This was the first result in my Google search and it's exactly what I needed, thanks!
Is the storage argument you've given to data basically just global variables for the minecraft world?
It’s global nbt information not really variables per say
@@Cl0udWolf So would dummy scoreboards still be the best way to store global variables then
@@zacharybarbanell1064 if ur storing a number yes
Thank you !
Fastest click everrr
Thank you so much!
GRANDE AMIGO, ME AYUDO MUCHISIMO
Very useful, thanks
Is it possible to open a world to lan using commandblocks bc /publish doesnt work (at least not like in chat) its not to important just thought id be kinda nice that the world around doesnt frezze when you open a BOOK. why mojang?
Server commands can’t be run by command blcoks
ooo new vid!!
я не знаю языка и переводчик не помог, но основную суть я уловил и за это спасибо
Sad i cant use those commands in pocket edition
This isn't multiplayer friendly right? If two players compare items at the same time, the system will mess up. Is there a way to make this multiplayer friendly?
It is multiplayer friendly if u run the commands in a sub function as @a prior
@@Cl0udWolf but won't the storage be overidden when 2 players compare at the same time?
@@samutheoneandonly3876 not if the commands r run inside a function and the function is called as @a. it will do all commands in the function seperately per player
@@Cl0udWolf Aight, thanks dude!! really needed this.
@Cloud Wolf could u make a clickable entities how-to video?
Luv ur vids
TheChampShrimp villagers that r invisible is the common method
@@Cl0udWolf thx, i dont know how i didnt guess it myself, thx again, keep up the good work
@@Cl0udWolf Could you use an invisible armor stand and detect an item swapping in its hands?
@@RyanTosh you could but a villager is so much better
is this a crutch (костыль) or a genius idea?
Viat Cheslav it’s not a crutch it’s the only way to compare nbt dynamically
@@Cl0udWolf yes, but it seems like a crutch
Viat Cheslav maybe compared to how u do it in java or C but not in MC
this is truth
can i compare the content of two dispenser whit this method?
ofc
@@Cl0udWolf i've tried this method but nothing happens .... i've failed something?
data remove storage test1 temp
data modify storage test1 temp set from block -84 60 -38
execute store success score %bool global run data modify storage test1 temp set from block -84 60 -40
execute if score %bool global matches 0 run say Matched
(the version whit the armor stand was working)
Ghost Game u would set it from the blocks Items array
@@Cl0udWolf i'm new i am new to MC dev, could you give me an example if you have time? (sorry if i'm making u lose ur time)
Ghost Game just add the word Items after block -84 60 -38 and -40
Why would you clear the storage if you're overwriting it anyway
If there isn’t a hand item then it will not overwrite anything so it will remember the previous item
minecraft has come a long way with commands. I mean look at this video
yo
REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
im 12 min late :(
first :)
(^o^):-D(^o^):-D(^o^):-D(^o^):-D(^o^)
Really, how do you people sleep at night, knowing everybody hates you for these meaningless spam comments?
@Sploshwazere Hmm, sorry for that im on vacaruon in france and the wifi isn't good here, it gave me An error first time so i tried it again very weird...
@Sploshwazere Yea that's how sad these people are...
gravitowl if u are actually actually first u do win
Thanks!