/execute on Tutorial for Minecraft [1.19.4+]

  Рет қаралды 13,887

Cloud Wolf

Cloud Wolf

Күн бұрын

Пікірлер: 66
@StrategicTurtle
@StrategicTurtle Жыл бұрын
I'm excited that Mojang is making it much easier for players to customize gameplay without resorting to modding.
@kyleyoung2464
@kyleyoung2464 Жыл бұрын
i dream that one day datapacks will be as powerful as mods.
@kcoolthegamer
@kcoolthegamer Жыл бұрын
Wait did Java not have /execute before recently?
@kyleyoung2464
@kyleyoung2464 Жыл бұрын
@@kcoolthegamer we did have it, /execute *on* is new.
@StrategicTurtle
@StrategicTurtle Жыл бұрын
@@kcoolthegamer Java has had the execute command for awhile. Mojang is just adding a new origin command that allows players to target entities based on who thay are attacking, who is attacking them, if they were just summoned, if they are riding another entity, etc. It's essentially an update to the command that makes it more versatile.
@WinnerMin17
@WinnerMin17 Жыл бұрын
❤️ Some mods are inspiration for my cmd creations too
@dyrania
@dyrania Жыл бұрын
This entire 1.19.4 command addons are exactly what I need for a Mount datapack. This potential is on-par with modding if not surpassing it in some areas. While we obviously still lacking a seamless graphical alterations that are not resource packs, we have the capabilities of doing so much now.
@dontusethisanymorelol5281
@dontusethisanymorelol5281 Жыл бұрын
whats wrong with using resource packs? they are vanilla and we are most likely not getting any alternative any time soon
@_Cubicake
@_Cubicake Жыл бұрын
its physically impossible to surpass modding, as any events you can trigger with commands can be done with java code
@kyleyoung2464
@kyleyoung2464 Жыл бұрын
@@dontusethisanymorelol5281 they have limits.
@peterlewis2178
@peterlewis2178 Жыл бұрын
@@dontusethisanymorelol5281 For me, the main issue I have is that they're separate from datapacks. I wish there was a way to link them together in one file/folder so people don't have to download both a datapack and resource pack for certain datapacks to function properly.
@thyz4726
@thyz4726 Жыл бұрын
I have been seeing some of your vids when i had question about mc etc. and i gotta say, ur a great yt'ber, keep up the good work man! :)
@darkendgamin2339
@darkendgamin2339 Жыл бұрын
You pronounce vehicle funny lol. Great video though! This new update adds so many possibilities!
@blaze4281
@blaze4281 Жыл бұрын
Definitely the on origin command seems to be the most useful as I can find ways of now executing things on that very arrow for custom, effects applied to it or affecting a certain radius around the entities if near it, etc, as now you don't need invisible armor stands teleporting to the custom arrow or anything like that or executing if an entity has a certain affect every tick, now you can just check who shot that arrow, and the arrows preexisting tags and more or less go from there, you can summon a mob at that location, you can spawn tnt, and more.
@Momibelle
@Momibelle Жыл бұрын
Thank you so much for these videos! I am trying to get our Middle students kids to 'engage' with Minecraft map-making, and this is really helpful! Cheers!
@Laban6112
@Laban6112 Жыл бұрын
I'm making so many boss battle with these new toys
@markpan
@markpan Жыл бұрын
Today is a good day for the Minecraft Command Community
@fereba5594
@fereba5594 Жыл бұрын
Love your videos. Also i would love to see mojang add something like a predicate to detect if a player is right clicking and a predicate for left clicking. Maybe also a way to give entity's custom model data
@Cl0udWolf
@Cl0udWolf Жыл бұрын
Ofc that would be great but the staff have said it’s very difficult to implement direct left and right click detection so it probs will be a while
@fereba5594
@fereba5594 Жыл бұрын
​@@Cl0udWolf thank you for replying. Yeah i can understand that it's pretty difficult to implement this but i am still hoping that in the future we will have something like that
@Edward.mike2892
@Edward.mike2892 Жыл бұрын
Thanks for the tutorial it actually helps your a lifesaver
@nochsta
@nochsta Жыл бұрын
As useful as it is, I feel it would be more useful if it could be used as a target selector. Having it only work like an 'as' is a bit limiting. Something like '/execute at @owner...' or '/tp @origin'. Or maybe as an argument: '/effect give @e[relation=passenger] night_vision...'
@Cl0udWolf
@Cl0udWolf Жыл бұрын
That wouldnt make any sense because selectors r used to find something in general and this finds things in relation to the executor. I also don’t see how it would provide any benefit in that form
@nochsta
@nochsta Жыл бұрын
@@Cl0udWolf Have you ever used ‘at’? ‘Facing’? ‘Positioned as’? And still wanted to keep track of the original entity as ‘@s’? Then why should we not be able to do the same with one of these ‘on’ relationships? Which is better: execute on attacker run tag @s add attacker execute on owner run tag @s add owner tell @p[tag=owner] @e[tag=attacker] is attacking me! execute on attacker run tag @s remove attacker execute on owner run tag remove owner Or, simply tell ~owner ~attacker is attacking me! ? Seems rather inefficient, when you already know know exactly which specific entity you want to refer to, to add a tag to it and then use an @e to search through every single entity to find it again, no?
@Cl0udWolf
@Cl0udWolf Жыл бұрын
@@nochsta tell is not a command and ofc the behavior of that u can do with predicates already
@nochsta
@nochsta Жыл бұрын
@@Cl0udWolf /tell is absolutely a command. Yes, in most cases tellraw would be preferable; I used it as an example, for simplicity’s sake. The point is, sometimes, I want to know who my owner is. Sometimes I want to know who my origin is. Or my passengers, controller, attacker etc. And sometimes I want to know who I am. With ‘execute on’, they’ve added the ability to do this; but you can only do one at a time - sometimes I want to know more than one of these in a single command.
@Cl0udWolf
@Cl0udWolf Жыл бұрын
@@nochsta If u use functions u would need no tags and can use distance or just 1 temporary tag. It would be nice but selectors r way less efficient. Maybe u use mods and don’t know the efficiency of stuff like selectors but @e must grab every entity and loook through them all and execute on is a much more efficient way of obtaining the source entity as it grabs the UUID already stored in nbt and then is similar to use /tp (UUID) instead of a selector /execute as @a at @s on vehicle run function (a) (a) say hi @a[sort=nearest,limit=1] ^ executor and original entity selected here and the benefits of having on are even greater in more complex systems, most of which dont need both entities or can properly make use of function execution order
@aceyafterbanana_4926
@aceyafterbanana_4926 Жыл бұрын
Can you do this on interaction entities and make a tutorial on how to use it for stuff.
@anonymous_365
@anonymous_365 Жыл бұрын
Can you make video about display entity syntax?
@Cl0udWolf
@Cl0udWolf Жыл бұрын
Ya probably
@As1anCr4ck3r
@As1anCr4ck3r 7 ай бұрын
i want to make a counter attack skill using the execute "on attacker", it works fine but when it comes to the damage, how would I make it so the entity that attacked the player receives damaged done by the player that got attacked using the damage command
@Bonfra04
@Bonfra04 Жыл бұрын
doesn't on origin works for item frames or paintings? is there a way to execute on a player that placed that itemframe?
@joshuastacy6636
@joshuastacy6636 Жыл бұрын
I know you said you would make a separate video on this, but how would you remove 5 seconds of spam with "on attacker". I am trying to make a thorns potion which deals damage to the attacker of the entity with the potion effect active, but the spam damage is a problem and I don't know how to get around it.
@Cl0udWolf
@Cl0udWolf Жыл бұрын
Advancements trigger when a player damages something u can use that to flag the player with a tag indicating they attacked. Then use execute … on attacker if entity @[tag=TAG] … run function And remove the tag in that function. Will work for PvE but not EvE
@spacelover4106
@spacelover4106 Жыл бұрын
​​@@Cl0udWolf can't you just use a second execute on command to add the tag instead of using advancements? This way it will work with both PvE and EvE
@elpeladotemc5644
@elpeladotemc5644 9 ай бұрын
@@spacelover4106 Can you explaint it or give an example? :)
@andrea.8458
@andrea.8458 Жыл бұрын
if I wanted to summon a projectal that I want that as soon as it hits an entity the game recognizes that I attacked it how could I do it?
@IwrsTheKing007
@IwrsTheKing007 Жыл бұрын
fun command hehe execute as @e[type=wolf,nbt={HurtTime:10s}] on attacker at @s run summon lightning_bolt ~ ~ ~
@chimpedout
@chimpedout Жыл бұрын
could you please make a display entity tutorial? these things are so confusing
@Cl0udWolf
@Cl0udWolf Жыл бұрын
Well if u saw the release candidate u would know mojang has been and is still changing how they work so I’m going to wait a little bit more
@chimpedout
@chimpedout Жыл бұрын
@@Cl0udWolf yeah i guess so. They’re also really buggy right now and the interpolation crap isn’t working for me one bit.
@Cl0udWolf
@Cl0udWolf Жыл бұрын
@@chimpedout it works for me but it’s a bit tricky
@Woomyko
@Woomyko 10 ай бұрын
It seems execute on target cannot be used if the entity running the command is a player sadly. But those commands are very useful nonetheless
@Cl0udWolf
@Cl0udWolf 10 ай бұрын
No on target works with zombies it just behaves differently per entity
@randommanwhodoesthings7662
@randommanwhodoesthings7662 Жыл бұрын
is it possible to use ‘on owner’ on an entity that cant normally be ‘owned’ by setting data of the entity?
@Cl0udWolf
@Cl0udWolf Жыл бұрын
No because for example arrows have an Owner nbt that means the one who shot it. same with AEC. for the most part the answer is no but u can use on origin in those cases. when i first experimented with these i thought on owner would work for arrows and dropped items since the nbt is called Owner, but on owner is very specifically for pets
@randommanwhodoesthings7662
@randommanwhodoesthings7662 Жыл бұрын
@@Cl0udWolf alright, thanks!
@Howzieky
@Howzieky Жыл бұрын
You could put an area effect cloud owned by the player on top of the entity, right? Then if @s is that entity, you could say "execute on passengers on owner..."
@Cl0udWolf
@Cl0udWolf Жыл бұрын
@@Howzieky if the AEC is owned by the player u can use execute on origin
@coucoul38
@coucoul38 Жыл бұрын
Can I use on target to execute a command when I get killed by a player with a specific tag ? I managed to do the opposite: execute a command as the killer, but now I want to reverse it and I can't make it work :(
@Cl0udWolf
@Cl0udWolf Жыл бұрын
No
@coucoul38
@coucoul38 Жыл бұрын
@@Cl0udWolf 😬
@samutheoneandonly3876
@samutheoneandonly3876 Жыл бұрын
Ia there a way to select a entity that last interacted with another entity? Like selecting the last player that talked to a villager or the last player that repaired an iron golem or milked a cow. Something like "/execute on interacter". We have a way to know wich entity left clicked another entity but no way to know wich entity right clicked an entity.
@Cl0udWolf
@Cl0udWolf Жыл бұрын
No u can only do that with on target and interactions
@Rusink
@Rusink Жыл бұрын
Thank you so much:')
@StrategicTurtle
@StrategicTurtle Жыл бұрын
second
Looping Chain Command Blocks (Nbt Trick)
3:25
Cloud Wolf
Рет қаралды 9 М.
I added cooler enchantments to Minecraft
10:49
Element X
Рет қаралды 285 М.
Как Я Брата ОБМАНУЛ (смешное видео, прикол, юмор, поржать)
00:59
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 13 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 24 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 639 М.
23 Glitches in Minecraft
12:29
Skip the Tutorial
Рет қаралды 4,7 МЛН
/execute Command Tutorial [Minecraft 1.19+]
22:09
Cloud Wolf
Рет қаралды 25 М.
I Learned to Beat Minecraft Using JUST My Brain Waves!
8:55
Best Uses for Minecraft's /execute Command 2024
8:29
YungBelll
Рет қаралды 2,3 М.
How to Optimize Your Datapack
9:13
Cloud Wolf
Рет қаралды 21 М.
This Mob Was Removed From Minecraft?
8:55
mysticat
Рет қаралды 2,4 МЛН
5 Cool Tricks with ONE Command!
9:21
BlockerLocker
Рет қаралды 855 М.
19 Secret Minecraft Features You’ll Use Right Away
10:39
Skip the Tutorial
Рет қаралды 13 МЛН
How to Turn Builds into Entities in Minecraft
9:52
Cloud Wolf
Рет қаралды 10 М.
I Added Almost Every Mob's AI to This Freak
14:13
Gargin
Рет қаралды 675 М.
Как Я Брата ОБМАНУЛ (смешное видео, прикол, юмор, поржать)
00:59