Skip to main content

I am trying to testfor a donkey in Minecraft, but if I do /testfor @e[type=EntityHorse] {Type:2}\

/testfor @e[type=EntityHorse] {Type:2}

then it won't work. The only way I can think of doing it is testing if the donkey has anything in it'sits chest inventory, but I don't want the player to be able to assess the chest on the donkey, so would there be any way to maybe have a locked chest on a donkey (Probably not thought)? Also, how would I testfor if the donkey was being ridden by a player?

I am trying to testfor a donkey in Minecraft, but if I do /testfor @e[type=EntityHorse] {Type:2} then it won't work. The only way I can think of doing it is testing if the donkey has anything in it's chest inventory, but I don't want the player to be able to assess the chest on the donkey, so would there be any way to maybe have a locked chest on a donkey (Probably not thought)? Also, how would I testfor if the donkey was being ridden by a player?

I am trying to testfor a donkey in Minecraft, but if I do \

/testfor @e[type=EntityHorse] {Type:2}

then it won't work. The only way I can think of doing it is testing if the donkey has anything in its chest inventory, but I don't want the player to be able to assess the chest on the donkey, so would there be any way to maybe have a locked chest on a donkey? Also, how would I testfor if the donkey was being ridden by a player?

Source Link
thezi3
  • 606
  • 4
  • 18

How to testfor a donkey in Minecraft

I am trying to testfor a donkey in Minecraft, but if I do /testfor @e[type=EntityHorse] {Type:2} then it won't work. The only way I can think of doing it is testing if the donkey has anything in it's chest inventory, but I don't want the player to be able to assess the chest on the donkey, so would there be any way to maybe have a locked chest on a donkey (Probably not thought)? Also, how would I testfor if the donkey was being ridden by a player?