-
-
Notifications
You must be signed in to change notification settings - Fork 348
50 ways to kill Minecraft (WIP)
Raycoms edited this page Nov 11, 2018
·
5 revisions
This will be a list of all common errors which can have fatal consequences considering Minecraft/Minecolonies development.
- When you let the citizen navigate to a possibly not initialized position (0,0,0) the pathfinder will crash the server because it will be quite possibly impossible to path there.
- If you have a message which does World world = ctx.getClientHandler().world, this message cannot be called on the serverside since casting will be executed on the server side which will cause issues. Better use WorldClient all along.
- If you create new NBT-Tags make sure no other name with this tag exists, else you will override it possibly!
- If you write a recursive function, add a max level to avoid stackoverflows by any chance! Minecraft is not determenistic!
- Set delays on every possible exit point.
- Don't request items every ticks, set delays.
- Don't fill up global lists, you have to either make sure to clear them or only build local lists.