|
Post by tiamotiodio on Jan 29, 2014 16:02:42 GMT
Watching the Dandelion of the death vide by Dragnoz I was asking if there is there a way to check if player has those attributes? For examples give a player a sword that gives him speed, or addictional life, or additional attack power etc... and check if player has that? I would use this to test if player is holding an item... (I remember Dragnoz made a video about this but i can't find it, maybe I'm wrong, maybe it wasn't Dragnoz -- It was a video about powerful swords, if I do remember well... :-P )?
Is it possible to do the same with mobs and, for example, test for mobs with FollowRange 0 or something like that?
Thank you very much for the help
|
|
|
Post by m4gnv5 on Feb 1, 2014 23:35:17 GMT
you can check if someone has it in his inventory to do that just use the /clear command and set the ammount of items to be cleared to 0 to check if a player is holding a weapon / fishing rod use the /echant command and set the enchantment level to 0 greetings M4GNV5
|
|
|
Post by quidrevieljohn on Feb 22, 2014 0:08:17 GMT
Good question actully, im not sure.
|
|
|
Post by m4gnv5 on Feb 22, 2014 18:13:59 GMT
i said the (correct) answer... O.o
|
|