1

I am currently working on a map and I want to have particles that gives certain effects to surrounding entities. I was thinking about using the /execute detect command but it only detects blocks! Is there any way to detect the particles and then run a command?

  • Afaik, particles are neither entities or blocks and also afaik its not possible to detect them, and if so would be with plugins and would be very difficult – Sulphate Apr 6 '16 at 17:29
  • But I saw it once in a vanilla Minecraft command video! – JP2K Apr 6 '16 at 17:35
  • @JP2K It is still not possible. Whatever the video was doing was either not vanilla or smoke and mirrors. It would help if you provided a link to the video so we can clarify what exactly was done. – Skylinerw Apr 6 '16 at 17:46
  • m.youtube.com/watch?v=yw_hr00tQx0 As you can see it hurt the wolf! Please explain as it whould help a lot! – JP2K Apr 6 '16 at 23:38
  • Um if you were using invisible Armor Stands it would be very possible. To testfor a armor stand with a certain name – TwentyCharMax Apr 7 '16 at 0:05
1

Instead of creating particles then checking for those particles, try creating particles and checking for entities where you are creating the particles.

Have one command block creating your particles at x, y, z then have another checking for an entity at x, y, z instead of looking for the particles. Then apply the desired effect to any entities it detects.

0

well, you could include a recourcepack in the map and re-texture a block with the texture of the block the floor.

For example, a hallway made of iron blocks, place stone where an iron block is supost to go and run the command /execute @a ~ ~ ~ detect ~ ~-1 ~ stone 0 /say 1 and replace /say 1 with whatever command you want, just play the particles over the stone.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.