entity-chunk-save-limit uses EntityType enum

This commit is contained in:
2021-08-30 00:33:17 +02:00
parent a90b8eef4a
commit 32e60b29d3
+9 -10
View File
@@ -104,22 +104,21 @@ Good starting values:
experience_orb: 16 experience_orb: 16
arrow: 16 arrow: 16
dragonfireball: 3 dragon_fireball: 3
egg: 8 egg: 8
ender_pearl: 8 ender_pearl: 8
ender_signal: 8
fireball: 8 fireball: 8
firework: 8 firework: 8
largefireball: 8 splash_potion: 8
lingeringpotion: 8 llama_spit: 3
llamaspit: 3 shulker_bullet: 8
shulkerbullet: 8
sizedfireball: 8
snowball: 8 snowball: 8
spectralarrow: 16 spectral_arrow: 16
splashpotion: 3 thrown_exp_bottle: 3
thrownexpbottle: 3
trident: 16 trident: 16
witherskull: 4 wither_skull: 4
area_effect_cloud: 8
``` ```
With the help of this entry you can set limits to how many entities of specified type can be saved. You should provide a limit for each projectile at least to avoid issues with massive amounts of projectiles being saved and your server crashing on loading that. There is an list of all projectiles provided below. Please adjust the limit to your liking. Suggested value for all projectiles is around `10`. You can also add other entities by their type names to that list. This config option is not designed to prevent players from making large mob farms. With the help of this entry you can set limits to how many entities of specified type can be saved. You should provide a limit for each projectile at least to avoid issues with massive amounts of projectiles being saved and your server crashing on loading that. There is an list of all projectiles provided below. Please adjust the limit to your liking. Suggested value for all projectiles is around `10`. You can also add other entities by their type names to that list. This config option is not designed to prevent players from making large mob farms.