Commands let players perform actions and customize gameplay using text-based instructions. Use this topic to share feedback and ideas for improving commands and related tools.

3

Entities spawned/changed from commands should never despawn

4 Comments

Post a new comment:

Please sign in to leave a comment.

Sorted by oldest
  • 1
    Registered User commented
    Comment actions Permalink

    Dunno, just see lag potencial.... Isn't there a command already to prevent entity despawn? If not, there should be a gamerule...

  • 0
    Registered User commented
    Comment actions Permalink

    No! This has a lot of potential for bad things to happen! If you don't want a summoned entity to despawn, give it a nametag!

  • 2
    Registered User commented
    Comment actions Permalink

    There's already an nbt tag to prevent entities that were summoned from despawning, its called "PersistanceRequired" If you set it to one, the entity you just summoned will not despawn, and you should be fine. 

    So, in a way, this is already a feature in minecraft.

  • 0
    Registered User commented
    Comment actions Permalink

    you can add tags to your Mob preventing Command Spawned Mobs from Despawning. MC Stacker would be a helpful tool.