简体   繁体   English

Minecraft Forge mod - 以开发环境中的玩家身份登录

[英]Minecraft Forge mod - log in as player in development enviroment

I am developing a Minecraft mod with Forge, and I need to test it on a server. 我正在使用Forge开发Minecraft mod,我需要在服务器上测试它。 How do I log in with my Minecraft account so that I can join a server? 如何使用我的Minecraft帐户登录以便加入服务器? The IDE I am using is Eclipse, and the workspace is set up using this tutorial (standard forge setup). 我使用的IDE是Eclipse,使用教程(标准伪造设置)设置工作区。

Thanks in advance. 提前致谢。

I found the answer: 我找到了答案:

Go to run->run configurations...->Arguments and add two arguments as follows: 转到run-> run configurations ...-> Arguments并添加两个参数,如下所示:

--username "my@email" --password "mypassword"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM