User Tools

Site Tools


tutorial:applychanges

Differences

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

Link to this comparison view

Next revision
Previous revision
tutorial:applychanges [2019/07/24 13:11] – created fudgetutorial:applychanges [2022/03/20 13:34] (current) – [Reload changed classes] solidblock
Line 1: Line 1:
 ====== Applying changes without restarting Minecraft ====== ====== 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. +Restarting Minecraft can take a hefty amount of time. Thankfully, there are tools that allow you to apply some changes while the game is running. 
 ==== Reload changed classes ==== ==== Reload changed classes ====
-In Eclipse or Intellij IDEA, run Minecraft in debug mode. To apply changes in code, +In Eclipse or Intellij IDEA, run Minecraft in debug mode. To apply changes in code, click the "build" button in Intellij IDEA or save in Eclipse.
-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. 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.  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 ==== +==== Reload assets ==== 
-After you make a change in a texture (''.png'') asset, you can press ''F3 + T''  to apply the change without restarting Minecraft. +After you make changes to assets such as textures and block/item models, you can rebuild the project and press ''F3 + T'' to apply changes without restarting Minecraft. More specifically, this is how to reload anything the mod provides as a resource pack. 
 +==== Reload data ==== 
 +You can apply any changes made in the ''data/'' directory such as recipes, loot tables and tags by rebuilding the project and then using the in-game command ''/reload''. More specifically, this reloads anything the mod provides as a data pack.
tutorial/applychanges.1563973869.txt.gz · Last modified: 2019/07/24 13:11 by fudge