1

Datapacks Started Lagging?

Wyvernity 10/2/20 4:06 pm
88
10/5/2020 5:41 pm
After making 5-6 datapacks, my survival world started lagging. Animals and other creatures are moving slowly. I tried my best to use less commands but it looks like it was a failure. Do you have any suggestions?
Posted by
Wyvernity
Level 79 : Legendary Sus Crewmate
484

  Have something to say?

JoinSign in

2

Suspicious Stoo
10/05/2020 5:41 pm
Level 56 : Grandmaster Llama
Use functions triggered by advancements instead of ticking checks whenever possible. If you ever use @e, make sure to always specify the type= first, always always always. And don't put anything in a tick function that can go anywhere else.
2
Hashs
10/05/2020 5:19 pm
Any/All • Level 68 : High Grandmaster Botanist Procrastinator
A few pointers:

- Reduce your usage of @e.
- Split off things into separate functions where possible; reduce the amount of commands run every tick.
- Reduce NBT checks and use predicates where possible in place of the NBT selector.
2

Welcome