User Tools

Site Tools


zh_cn:tutorial:applychanges

Differences

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

Link to this comparison view

Next revision
Previous revision
zh_cn:tutorial:applychanges [2019/12/18 11:00] – created lightcolourzh_cn:tutorial:applychanges [2022/04/28 11:30] (current) – [重新加载资源] solidblock
Line 1: Line 1:
-====== Applying changes without restarting Minecraft ====== +====== 应用更改而无需重新启动 Minecraft ====== 
-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.  +重新启动 Minecraft 可能会花费大量时间。不过还好,有一些工具可以让您在游戏运行时应用某些更改。 
-==== 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+在 Eclipse 或 Intellij IDEA 中,以调试模式运行 Minecraft。要应用代码更改,在 Intellij 中点按“构建”按钮或在 Eclipse 中保存。注意:这仅允许您更改方法主体。如果进行任何其他类型的更改,则必须重新启动。但是,如果使用 [[http://dcevm.github.io/|DCEVM]],则可以进行大多数更改,包括添加和删除方法和类。 
-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.  +更改资源(如纹理或者方块/物体模型)后,可以重建项目并按 ''F3 + T'' 以应用更改,而无需重新启动Minecraft。这实际上就是重新加载模组作为资源包提供的任何内容的方法。 
-==== Reload textures ==== +==== 重新加载数据 ==== 
-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 +你可以应用在 ''data/'' 目录中做出的任何更改(如配方、战利品表和标签),方法就是重建项目并使用游戏命令 ''/reload''。这实际上就是重新加载模组作为数据包提供的任何内容的方法。
-==== 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''.+
zh_cn/tutorial/applychanges.1576666818.txt.gz · Last modified: 2019/12/18 11:00 by lightcolour