简体   繁体   中英

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. How do I log in with my Minecraft account so that I can join a server? The IDE I am using is Eclipse, and the workspace is set up using this tutorial (standard forge setup).

Thanks in advance.

I found the answer:

Go to run->run configurations...->Arguments and add two arguments as follows:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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