tutorial:modding_tips
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:modding_tips [2019/05/21 16:59] – ↷ Page moved and renamed from modding:tips to tutorial:modding_tips falseresync | tutorial:modding_tips [2019/09/16 16:46] – [Pitfalls] changed code to be surrounded by monospace block manxboy | ||
---|---|---|---|
Line 21: | Line 21: | ||
* Packets always begin execution on the **network thread**, however accesses to most Minecraft things are not thread-safe. In general, if you're not exactly sure what you're doing, you want to parse the packet on the network thread (read all the values out), then use the **task queue** to perform additional operations on the **main server/ | * Packets always begin execution on the **network thread**, however accesses to most Minecraft things are not thread-safe. In general, if you're not exactly sure what you're doing, you want to parse the packet on the network thread (read all the values out), then use the **task queue** to perform additional operations on the **main server/ | ||
+ | |||
+ | ===== Pitfalls ===== | ||
+ | |||
+ | * Avoid using the '' |
tutorial/modding_tips.txt · Last modified: 2024/04/15 02:25 by solidblock