We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

3

Entities spawned/changed from commands should never despawn

4 Comments

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.