Despawn spawned armorstand where player looks

Started by Azzier on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Despawn spawned armorstand where player looks

Hi,

I have problem with despawning armorstand (or generally an entity) that i spawned.

I am spawning an armorstand where player is looking at moment and I'm saving coordinates to 3 variables (x, y, z), but i don't know how to despawn it now.