User Tools

Site Tools


tutorial:applychanges

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorial:applychanges [2019/07/26 13:33] – typo fudgetutorial:applychanges [2020/02/22 15:44] – [Reload textures] We can reload much more than textures! jamieswhiteshirt
Line 3: Line 3:
 ==== 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,
-do ''run -> reload changes classes'' in Intellij or save in Eclipse.+do ''Run -> Reload Changed Classes'' in Intellij IDEA 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 reload changed classes and 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 reload changed classes 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 recipes and loot tables ==== ==== Reload recipes and loot tables ====
 You can apply any change you made in the ''data/'' directory (including recipes and loot tables) by reloading changed classes and then using the Minecraft command ''/reload''. You can apply any change you made in the ''data/'' directory (including recipes and loot tables) by reloading changed classes and then using the Minecraft command ''/reload''.
tutorial/applychanges.txt · Last modified: 2022/03/20 13:34 by solidblock