Timeline for (Java Minecraft 1.14) Does a scoreboard tag affect entity despawning?
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 3, 2019 at 17:09 | comment | added | user232393 |
@Nik3141 You can set the PersistenceRequired -tag to 1 to make sure they won't despawn, I'm assuming that you know how to do that, so I leave it at that.
|
|
Aug 3, 2019 at 17:00 | comment | added | Nik3141 | I'm trying to make a small percentage of bats randomly turn into vampires, so I wanted to make sure that if I tagged a bat to say it had already been decided to not turn into a vampire by the RNG that it wouldn't not despawn or something. | |
Aug 3, 2019 at 16:59 | vote | accept | Nik3141 | ||
Aug 3, 2019 at 12:32 | history | edited | user232393 | CC BY-SA 4.0 |
Added some information from the comments and added Note 2
|
Aug 3, 2019 at 12:27 | comment | added | user232393 | @FabianRöling I figured it out and tested it, I will add it to the answer now | |
Aug 3, 2019 at 12:20 | comment | added | user232393 |
@FabianRöling Items don't have the PersistenceRequired -tag, neither before picking them up, nor after dropping them. Can you please elaborate on what you mean?
|
|
Aug 3, 2019 at 12:17 | comment | added | user232393 | @FabianRöling I did mention the nametagging ("Changing the name of an entity with a name tag will change both the name and set the PersistenceRequired-tag to 1.") and I haven't tested about picking up items, I will test that and add it to the answer. | |
Aug 3, 2019 at 12:07 | comment | added | Fabian Röling |
Maybe you also want to write somewhere in your answer that picking up items and nametagging sets PersistenceRequired to true .
|
|
Aug 3, 2019 at 11:49 | history | answered | user232393 | CC BY-SA 4.0 |