[英]How to run minecraft in Debug mode
I'm not even sure if you can ask this question here but i have the MCP which decompiles minecrafts code and allows you to edit it using eclipse. 我什至不知道您是否可以在这里问这个问题,但是我有MCP,它可以反编译Minecrafts代码并允许您使用Eclipse编辑它。 As you may know in Eclipse there is a feature called debug mode, whenever i click it, it says in the console. 您可能在Eclipse中知道有一种称为调试模式的功能,每当我单击它时,它就会在控制台中显示。
Error: Could not find or load main class Start
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
I went to the Start.java file and tried the debug button again but it didnt work so i was just wondering if you guy's know any way around it, The MCP is for 1.7.10 and it's default not Minecraft Forge. 我去了Start.java文件,然后再次尝试了调试按钮,但是它没有起作用,所以我只是想知道你们是否知道它周围的任何地方,MCP是1.7.10,默认不是Minecraft Forge。 If this is not the right place to ask just ignore it. 如果这不是合适的地方,请忽略它。 ` `
Making my comment an answer and adding the details you asked for: 让我的评论成为答案,并添加您要求的详细信息:
Make sure that Start.java
's folder is defined as a source folder of the Eclipse project into which you imported Minecraft: 确保将Start.java
的文件夹定义为导入了Minecraft的Eclipse项目的源文件夹:
Project Explorer
view. 在“ Project Explorer
视图中右键单击该项目。 Build Path
--> Configure Build Path...
. 从弹出菜单中选择Build Path
> Configure Build Path...
source
tab on the right pane isn't chosen - choose it. 在弹出对话框中,如果未选择右侧窗格中的“ source
选项卡,请选择它。 Source folders on build path
- this isn't the problem. 如果您的源文件夹已经出现在文件夹列表中Source folders on build path
上的Source folders on build path
-这不是问题。 Otherwise - 除此以外 - Add Folder...
. 单击Add Folder...
Source Folder Selection
dialog, select your source folder and click OK
. 在弹出的“ Source Folder Selection
对话框中,选择您的源文件夹,然后单击“ OK
。 OK
in the former dialog. 在前一个对话框中单击“ OK
”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.