User Tools

Site Tools


tutorial:modding_tips

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorial:modding_tips [2019/07/24 13:08] – added "Applying changes without restarting Minecraft" fudgetutorial:modding_tips [2019/07/24 13:10] – Moving apply changes to a different place fudge
Line 22: Line 22:
   * 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/client thread**.   * 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/client thread**.
  
- 
-===== Applying changes without restarting Minecraft ===== 
-Restarting Minecraft can take a hefty amount of time. Thankfully, there are tools that allow you to some apply changes while the game is running.  
-==== Reload changed classes ==== 
-In Eclipse or Intellij IDEA, run Minecraft in debug mode. To apply changes in code, 
-do ''run -> reload changes classes'' in Intellij or save in Eclipse. 
-Note: this only allows you to change method bodies. If you do any other kind of change, You will have to restart. 
-However, if you use [[http://dcevm.github.io/|DCEVM]], you will be able to do most changes, including adding and removing methods and classes.  
-==== Reload textures ==== 
-After you make a change in a texture (''.png'') asset, you can press ''F3 + T''  to apply the change without restarting Minecraft.  
tutorial/modding_tips.txt · Last modified: 2024/04/15 02:25 by solidblock