由于最近太忙了,所以无力一口气把所有教程更新完.
所以打算现在这里放出预览版然后慢慢更新,全部写完后再正式发到论坛.
注意由于是预览版,所以随时都会有更新和修正.
基础篇
第一章:MCP,Forge和Eclipse的配置
http://www.hakugyokurou.net/wordpress/?p=134
第二章:建立一个基于Forge的Mod
http://www.hakugyokurou.net/wordpress/?p=144
第三章:创建新的砖块,物品和冶炼
http://www.hakugyokurou.net/wordpress/?p=163
第四篇:实体
http://www.hakugyokurou.net/wordpress/?p=340
Extra篇
第一篇:Forge的事件系统
http://www.hakugyokurou.net/wordpress/?p=225
第二篇:在Eclipse下编译和调试(从1.7开始就不用考虑这个问题了)
http://www.hakugyokurou.net/wordpress/?p=257
第三篇:Coremod的制作
http://www.hakugyokurou.net/wordpress/?p=333
配套:Java字节码(Bytecode)与ASM简单说明
http://www.hakugyokurou.net/wordpress/?p=409
第四篇:Gui
http://www.hakugyokurou.net/wordpress/?p=333
常见问题
http://blog.hakugyokurou.net/?p=1298
Plus篇(同样未更新并且严重过时...)
什么是Plus篇?Plus篇倾向于讲那些原理和底层中的东西,或许对大部分人来说,是没有什么作用的.
http://www.hakugyokurou.net/wordpress/?p=284
ASMShooterMappingData的下载(供用来做Coremod的人使用,介绍看Extra编第三篇.)
http://sdrv.ms/1cv32le
另外,基础篇可能以后我不会更新了...换句话说旧教程的TileEntity和地形生成不会再被移植到新教程上,对于这几篇教程的空白,你可以参考别人的教程:
Manageryzy编写的综合索引站,包括所有中文教程的索引:https://mcdev-wiki.org
Manageryzy的教程:http://www.261day.com/minecraft-forge教程/
Darkyoooooo的教程:http://darkyoooooo.minestudio.org/minecraft-forge-开发实例/
非官方Forge文档:http://mcforge-cn.readthedocs.org/zh/latest/ (有点慢,可能需要翻墙)
如果你是位教程作者的话,可以叫我在这里加上你的教程的链接.
更新:
12.12.9 更新一点点...
12.12.12 更新了一点物品的部分
12.12.23 更新到Forge6.5.0.471
13.1.1 过年啦过年啦...旧坑未填又来新坑哟,这次是Forge的事件系统.同时,代码高亮插件修复,看起来挺不错.
13.1.2 紫妈大暴走(?),第二篇Extra教程出炉了!顺便对第一篇基础教程稍微调整了一下.
13.1.28 放出了Plus篇.
13.2.2 更新了基础教程(3)的一部分.
13.2.10 稍微修正了一点小细节(真的?)
13.2.26 Plus篇更新了一部分.为基础篇和Extra篇的更新做准备.
13.3.17 Extra第三篇和其配套教程发布.
13.6.24 Plus篇更新了"AABB盒与Vec3"
13.8.4 基础篇第四篇发布
13.9.1 修正了Extra第三篇的问题
15.1.6 更新了基础篇的1~3篇
15.2.5 更新了Extra第一篇
15.2.6 更新了Extra第三篇和ASM教程
15.2.22 加上了其他作者的教程的链接
16.2.22 时隔一年,在1.9发布前夕,教程开始向1.8更新
(忘了提, 我是無雲)
sorry, 剛點太快, 還有一個問題想請教你.
現在1.8版跟1.7版有很大的隔閡, 很多方式都大改變, 連基本要寫一個自訂的方塊都還要額外自己寫json定義檔.
目前我是卡在模型檔顯示方面, 以前在1.7版時, 我只要用下面的指令就可以很輕易的取出模型來顯示, 如下:
IModelCustom myModel = AdvancedModelLoader.loadModel(new ResourceLocation(MODID + ":models/test.obj"));
這時我只要調用 myModel 就能輕易的讓它顯示出來.
而現在1.8的forge似乎去除了IModelCustom和AdvancedModelLoader函式, 我不知道該如何去更新這部分的問題, 我的模組只能停留在1.7.10版.
我也稍微去查了一下老外的討論, 他們是說未來Forge將採用B3D檔的格式, 這種格式好像是Blender支援的動畫模型檔, 但現在也還找不到相關的使用方法文章可供閱讀.
這方面不知道你知悉多少?
糊弄出個教程 http://www.hakugyokurou.net/wordpress/?p=1309 最近不碰MC了...關於MC開發的文章可以看看別人寫的(http://www.mcdev-wiki.org/)
感謝回覆, 1.8版的麥塊模組後路實在艱辛.
現在搞麥塊模組越來越無力, 1.8版的Forge本身就一堆Bug, 有時候在開發環境運行看起來都正常,一放到麥塊執行後就開始出問題, 搞得很蛋疼, 還好你提早收手沒碰, 不然真的會火冒三丈.
這次我真的無力了, 以前用 1.5.2版, 1.6.4版, .17.10版都沒遇過這樣子的事, 現在的 1.8版 真的讓人很無力, 我用了 11.14.1.1334版 和 11.14.1.1402版去測試都一樣的結果, 我真的不知道現在的 Forge 1.8版怎麼會變得這麼奇怪.
這張是1.7.10版的, 流體的顯示都正確不會錯亂.
http://postimg.org/image/y9bvafcsv/
以下三張圖都是開發中 1.8版的:
第一張圖
http://postimg.org/image/5dckriebv/
第二張圖
http://postimg.org/image/tftemduyz/
第三張圖
http://postimg.org/image/3mtjq0wsr/
明明我只想要一個TileEntity就顯示自己目前裝的流體樣子而已, 在遊戲畫面中如果多放好幾個出來, 那個流體繪製的位置就會自己變動, 而且繪製尺寸會越縮越小.
請問, 你知道會造成這種情形的原因大約是哪些嗎?
也許是OpenGL的模型視角矩陣沒有復位?如果你是在renderTileEntityAt中編寫渲染代碼的話,試試在開頭加一個GlStateManager.pushMatrix(),在結尾加一個GlStateManager.popMatrix()
SZ 你真是我的明師啊~ 讓我再次瞙拜 Orz
一語道破, 太利害了, 以下是目前修正後的截圖
http://postimg.org/image/x2s2kqhlh/
話說, 在1.8版以前我沒用這樣子的寫法, 一樣能正常顯示, 現在的1.8版真的龜毛太多了 =.=
每次配置完之后隔一段时间(我也不知道规律)就需要重新运行gradlew.bat setupDecomdWorkspace 才能使用是怎么回事
还有我是手动导入的
你是用eclipse吗,我怀疑eclipse的gradle插件有问题...我在我的机器上也遇到过每次启动eclipse时都会强制刷新项目,你可以试试自动导入,就是通过gradlew.bat eclipse创建eclipse项目,然后把eclipse的workspace切换到forge目录下的eclipse文件夹中,这样获得的项目就是一个普通java项目,不会被eclipse的gradle插件影响.
自动导入的话由于gradlew.bat eclipse似乎是下载不到...所以不能完成。如果没有什么影响的话...我也懒得动了,每次重新运行一下也没什么...
不好意思, 在1.7.10版時我是製作沒問題的, 但這1.8版實在變動太多了, 又遇到一個百思不解的問題了, 這次我是想把原本單一方塊, 修改成有子類的方塊, 有點類似羊毛方塊那樣子同一種方塊卻有不同的外觀, 但我這個方塊有四個方向性, 現在要做成有子類的方塊, 變成要多加屬性進去, 我採用布林屬性.
下面這張是我在1.7.10版製作完成的截圖, 外觀看起來都正常
http://postimg.org/image/7hrnlhdy7/
下面這張是目前1.8版開發中, 未使用子方塊的截圖, 外觀與放置出來都正常
http://postimg.org/image/9jnjlzmjj/
下面這張是目前1.8版開發中, 使用了子方塊程序的截圖, GUI與手中拿的看起來都正常, 唯獨放出來後變黑紫方塊了
http://postimg.org/image/3wvs299en/
在Client部分, 我在 FMLPreInitializationEvent 裡多增加下面這行:
ModelBakery.addVariantName(Item.getItemFromBlock(ModMain.bigstorage), new String[]{ModMain.MODID + ":" + "bigstorage", ModMain.MODID + ":" + "bigstorage_advanced"});
接著在 FMLInitializationEvent 裡多增加一行, 變成現在的樣子:
Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(ModMain.bigstorage), 0, new ModelResourceLocation(ModMain.MODID + ":" + "bigstorage", "inventory"));
Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(ModMain.bigstorage), 1, new ModelResourceLocation(ModMain.MODID + ":" + "bigstorage_advanced", "inventory"));
因為我在Common部分裡的 FMLPreInitializationEvent 裡是用如下設定:
ModMain.bigstorage = new BlockBigStorage(3.0F, 200.0F, "bigstorage");
GameRegistry.registerBlock(ModMain.bigstorage, BlockInfo.class, "bigstorage");
GameRegistry.registerTileEntity(TileEntityBigStorage.class, "tileentity_bigstorage");
我有用到擴展類別BlockInfo.class, 所以在 BlockInfo.class 裡我多寫了如下:
public BlockInfo(Block block) {
super(block);
this.setHasSubtypes(true);
this.setMaxDamage(0);
}
@Override
public int getMetadata(int meta){
return meta;
}
而BlockBigStorage裡目前如下:
public class BlockBigStorage extends Block implements ITileEntityProvider{
public static final PropertyDirection FACING = PropertyDirection.create("facing", EnumFacing.Plane.HORIZONTAL);
public static final PropertyBool ADVANCED = PropertyBool.create("advanced"); // <---這行是後來加進來的
public BlockBigStorage(float hardness, float resistance, String unlocalizedName){
super(Material.rock);
this.setDefaultState(this.blockState.getBaseState().withProperty(FACING, EnumFacing.NORTH).withProperty(ADVANCED, Boolean.valueOf(false).booleanValue()));
this.setUnlocalizedName(unlocalizedName);
this.setCreativeTab(ModMain.tabCustom);
this.setHardness(hardness);
this.setResistance(resistance);
}
@Override
public TileEntity createNewTileEntity(World worldIn, int meta) {
return new TileEntityBigStorage();
}
@Override
public int getRenderType(){
return 3;
}
@Override
public boolean isOpaqueCube(){
return false;
}
@Override
public boolean isFullCube(){
return false;
}
@Override
@SideOnly(Side.CLIENT)
public void getSubBlocks(Item itemIn, CreativeTabs tab, List list){ // <--- 為了做子類方塊我才多增加這個函式的
list.add(new ItemStack(itemIn, 1, 0)); // 一般型
list.add(new ItemStack(itemIn, 1, 1)); // 進階型
}
@Override
public IBlockState onBlockPlaced(World worldIn, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer){
return this.getDefaultState().withProperty(FACING, placer.getHorizontalFacing().getOpposite()).withProperty(ADVANCED, Boolean.valueOf(false).booleanValue());
}
@Override
protected BlockState createBlockState(){
return new BlockState(this, new IProperty[] {FACING,ADVANCED}); // 0));
}
}
在 blockstates方面, 原本的 bigstorage.json內容如下:
{
"variants": {
"facing=up":{"model":"privatetime:bigstorage"},
"facing=down":{"model":"privatetime:bigstorage"},
"facing=north":{"model":"privatetime:bigstorage", "y": 180},
"facing=south":{"model":"privatetime:bigstorage"},
"facing=west":{"model":"privatetime:bigstorage", "y": 90},
"facing=east":{"model":"privatetime:bigstorage", "y": -90}
}
}
因為要做成子類方塊, 所以我改成如下:
{
"variants": {
"facing=up, advanced=false":{"model":"privatetime:bigstorage"},
"facing=down, advanced=false":{"model":"privatetime:bigstorage"},
"facing=north, advanced=false":{"model":"privatetime:bigstorage", "y": 180},
"facing=south, advanced=false":{"model":"privatetime:bigstorage"},
"facing=west, advanced=false":{"model":"privatetime:bigstorage", "y": 90},
"facing=east, advanced=false":{"model":"privatetime:bigstorage", "y": -90},
"facing=up, advanced=true":{"model":"privatetime:bigstorage_advanced"},
"facing=down, advanced=true":{"model":"privatetime:bigstorage_advanced"},
"facing=north, advanced=true":{"model":"privatetime:bigstorage_advanced", "y": 180},
"facing=south, advanced=true":{"model":"privatetime:bigstorage_advanced"},
"facing=west, advanced=true":{"model":"privatetime:bigstorage_advanced", "y": 90},
"facing=east, advanced=true":{"model":"privatetime:bigstorage_advanced", "y": -90}
}
}
而 assets.模組ID.models.block 和 assets.模組ID.models.item 裡也都有各放 bigstorage.json 和 bigstorage_advanced.json檔
在啟動遊戲時, 載入程序方面卻顯示有錯誤訊息, 如下:
[Client thread/ERROR] [FML]: Model definition for location privatetime:bigstorage#advanced=true,facing=south not found
[Client thread/ERROR] [FML]: Model definition for location privatetime:bigstorage#advanced=true,facing=north not found
[Client thread/ERROR] [FML]: Model definition for location privatetime:bigstorage#advanced=true,facing=east not found
[Client thread/ERROR] [FML]: Model definition for location privatetime:bigstorage#advanced=false,facing=west not found
[Client thread/ERROR] [FML]: Model definition for location privatetime:bigstorage#advanced=false,facing=south not found
[Client thread/ERROR] [FML]: Model definition for location privatetime:bigstorage#advanced=true,facing=west not found
[Client thread/ERROR] [FML]: Model definition for location privatetime:bigstorage#advanced=false,facing=east not found
[Client thread/ERROR] [FML]: Model definition for location privatetime:bigstorage#advanced=false,facing=north not found
我一直想不透, 該設定的條件我都設了, 我只是從原本的單一方塊, 修改成有子類的方塊, 它卻變成找不到原本的材質, 連新產生的子方塊也顯示不出來.
請問, 我有漏掉哪一個重要步驟嗎 ?
想问下大大如何吧MOD打包成JAR?基础教程第四篇的4-(4)是英文的完全看不懂。。。网上搜的全都是MCP的,用eclipse导出JAR包导出后放到客户端里,运行就会闪退。求解。
再问下大大有没有制作3D的工具(类似于3D的枪)详细一些的教程?感谢。
你要用gradlew build来构建mod,构建出来的mod位于build/libs文件夹下
表示有没有中文的ForgeAPI可以看啊?没有的话博主做一个呗
我想问一下,在forge环境下启动游戏经常崩溃...原因好像都是因为SoundManager.java这个东西,具体崩溃报告
java.lang.NullPointerException: Unexpected error
at net.minecraft.client.audio.SoundManager$SoundSystemStarterThread.playing(SoundManager.java:547)
at net.minecraft.client.audio.SoundManager.updateAllSounds(SoundManager.java:245)
at net.minecraft.client.audio.SoundHandler.update(SoundHandler.java:224)
at net.minecraft.client.Minecraft.runTick(Minecraft.java:2104)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039)
at net.minecraft.client.Minecraft.run(Minecraft.java:962)
at net.minecraft.client.main.Main.main(Main.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
at GradleStart.main(Unknown Source)
您是在所有人的博客了都提问么OTZ
嘛..我就只知道你们俩的博客了...
[main/INFO] [GradleStart]: Extra: []
[主要/信息][GradleStart]:额外的:[]
[22:38:04] [main/INFO] [GradleStart]: Running with arguments: [--tweakClass, cpw.mods.fml.common.launcher.FMLServerTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[22:38:04][主要/信息][GradleStart]:运行参数:[——tweakClass、cpw.mods.fml.common.launcher.FMLServerTweaker——tweakClass net.minecraftforge.gradle.tweakers.CoremodTweaker]
[22:38:04] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
[22:38:04][主要/信息][LaunchWrapper]:加载调整cpw.mods.fml.common.launcher.FMLServerTweaker类名
[22:38:04] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
[22:38:04][主要/信息][LaunchWrapper]:使用主要调整cpw.mods.fml.common.launcher.FMLServerTweaker类名
[22:38:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[22:38:04][主要/信息][LaunchWrapper]:加载调整net.minecraftforge.gradle.tweakers.CoremodTweaker类名
[22:38:04] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker
[22:38:04][主要/信息][LaunchWrapper]:调用类cpw.mods.fml.common.launcher.FMLServerTweaker调整
[22:38:04] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1277 for Minecraft 1.7.10 loading
[22:38:04][主要/信息][FML]:建立国防部装载机版本7.10.85.1277 Minecraft卖出1.7.10加载
[22:38:04] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.6.0_13, running on Windows Vista:x86:6.1, installed at C:\Program Files (x86)\Java\jre6
[22:38:04][主要/信息][FML]:Java Java HotSpot VM(TM)客户端版本1.6.0_13,运行在Windows Vista:C:\Program Files (x86)\Java\jre6 x86:6.1、安装
[22:38:04] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[22:38:04][主要/信息][FML]:成功加载deobfuscated Minecraft卖出的名字——我们在deobfuscated环境。跳过运行时deobfuscation
[22:38:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[22:38:04][主要/信息][LaunchWrapper]:调用类net.minecraftforge.gradle.tweakers.CoremodTweaker调整
[22:38:04] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[22:38:04][主要/信息][GradleStart]:注射位置coremod cpw.mods.fml.relauncher.FMLCorePlugin
[22:38:04] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[22:38:04][主要/信息][GradleStart]:注射位置coremod net.minecraftforge.classloading.FMLForgePlugin
[22:38:04] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:38:04][主要/信息][LaunchWrapper]:加载调整cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker类名
[22:38:04] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[22:38:04][主要/信息][LaunchWrapper]:加载调整cpw.mods.fml.common.launcher.FMLDeobfTweaker类名
[22:38:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[22:38:04][主要/信息][LaunchWrapper]:加载调整net.minecraftforge.gradle.tweakers.AccessTransformerTweaker类名
[22:38:04] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:38:04][主要/信息][LaunchWrapper]:调用类cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker调整
[22:38:04] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:38:04][主要/信息][LaunchWrapper]:调用类cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker调整
[22:38:04] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:38:04][主要/信息][LaunchWrapper]:调用调整类cpw.mods.fml.relauncher.CoreModManager FMLPluginWrapper美元
[22:38:04] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[22:38:04][主要/错误][FML]:二进制补丁集是失踪。你是在开发环境中,或者事情不会工作!
[22:38:05] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[22:38:05][主要/错误][FML]:FML似乎缺少任何签名数据。这不是一件好事
[22:38:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:38:05][主要/信息][LaunchWrapper]:调用调整类cpw.mods.fml.relauncher.CoreModManager FMLPluginWrapper美元
[22:38:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[22:38:05][主要/信息][LaunchWrapper]:调用类cpw.mods.fml.common.launcher.FMLDeobfTweaker调整
[22:38:05] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[22:38:05][主要/信息][LaunchWrapper]:调用类net.minecraftforge.gradle.tweakers.AccessTransformerTweaker调整
[22:38:05] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[22:38:05][主要/信息][LaunchWrapper]:加载调整cpw.mods.fml.common.launcher.TerminalTweaker类名
[22:38:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[22:38:05][主要/信息][LaunchWrapper]:调用类cpw.mods.fml.common.launcher.TerminalTweaker调整
[22:38:05] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
[22:38:05][主要/信息][LaunchWrapper]:启动包装minecraft卖出{ net.minecraft.server.MinecraftServer }
2015-7-13 22:38:06 io.netty.util.internal.PlatformDependent
2015-7-13 22:38:06 io.netty.util.internal.PlatformDependent
信息: Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system unstability.
信息:您的平台不提供完整的低级API来访问可靠地直接缓冲区。除非明确要求,堆缓冲区总是会倾向于避免潜在的系统不稳定性。
[22:38:07] [main/WARN] [FML]: =============================================================
[22:38:07][主要/警告][FML]:= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
[22:38:07] [main/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
[22:38:07][主要/警告][FML]:国防部直接引用system . exit()这是不允许改变旅程了!
[22:38:07] [main/WARN] [FML]: Offendor: net/minecraft/server/gui/MinecraftServerGui$1.windowClosing(Ljava/awt/event/WindowEvent;)V
[22:38:07][主要/警告][FML]:Offendor:net/minecraft/server/gui/MinecraftServerGui windowclosing 1.美元(Ljava / awt /事件/ WindowEvent;)V
[22:38:07] [main/WARN] [FML]: Use FMLCommonHandler. exitJava instead
[22:38:07][主要/警告][FML]:使用FMLCommonHandler。exitJava相反
[22:38:07] [main/WARN] [FML]: =============================================================
[22:38:07][主要/警告][FML]:= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
[22:38:07] [Server thread/INFO]: Starting minecraft server version 1.7.10
[22:38:07][服务器线程/信息):开始minecraft卖出1.7.10服务器版本
[22:38:07] [Server thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[22:38:07][服务器线程/信息][MinecraftForge]:尝试早期MinecraftForge初始化
[22:38:07] [Server thread/INFO] [FML]: MinecraftForge v10.13.2.1277 Initialized
[22:38:07][服务器线程/信息][FML]:MinecraftForge v10.13.2.1277初始化
[22:38:07] [Server thread/INFO] [FML]: Replaced 183 ore recipies
[22:38:07][服务器线程/信息][FML]:183年铁矿石recipies所取代
[22:38:07] [Server thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[22:38:07][服务器线程/信息][MinecraftForge]:早期MinecraftForge初始化完成
[22:38:07] [Server thread/INFO] [FML]: Searching D:\Forge-gradle\forge\eclipse\mods for mods
[22:38:07][服务器线程/信息][FML]:搜索D:\ Forge-gradle \打造\ eclipse \插件插件
[22:38:10] [Server thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[22:38:10][服务器线程/信息][FML]:建立国防部装载机已经确定4插件加载
[22:38:10] [Server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, examplemod] at CLIENT
[22:38:10][服务器线程/信息][FML]:尝试与失踪的插件(mcp、FML伪造、examplemod)在客户端
[22:38:10] [Server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, examplemod] at SERVER
[22:38:10][服务器线程/信息][FML]:尝试与失踪的插件(mcp、FML伪造、examplemod)服务器
[22:38:10] [Server thread/INFO] [FML]: Processing ObjectHolder annotations
[22:38:10][服务器线程/信息][FML]:处理ObjectHolder注释
[22:38:10] [Server thread/INFO] [FML]: Found 341 ObjectHolder annotations
[22:38:10][服务器线程/信息][FML]:发现341 ObjectHolder注释
[22:38:10] [Server thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[22:38:10][服务器线程/信息][FML]:配置休眠块缓存大小为0
[22:38:10] [Server thread/INFO] [FML]: Applying holder lookups
[22:38:10][服务器线程/信息][FML]:应用查找
[22:38:10] [Server thread/INFO] [FML]: Holder lookups applied
[22:38:10][服务器线程/信息][FML]:查找应用
[22:38:10] [Server thread/INFO]: Loading properties
[22:38:10][服务器线程/信息]:加载属性
[22:38:10] [Server thread/INFO]: You need to agree to the EULA in order to run the server. Go to eula. txt for more info.
[22:38:10][服务器线程/信息]:您需要同意EULA为了运行服务器。去eula。txt更多信息。
[22:38:10] [Server thread/WARN] [FML]: Can't revert to frozen GameData state without freezing first.
[22:38:10][服务器线程/警告][FML]:不能恢复到冷冻GameData没有冻结状态。
[22:38:10] [Server thread/INFO] [FML]: Applying holder lookups
[22:38:10][服务器线程/信息][FML]:应用查找
[22:38:10] [Server thread/INFO] [FML]: Holder lookups applied
[22:38:10][服务器线程/信息][FML]:查找应用
[22:38:10] [Server thread/INFO] [FML]: The state engine was in incorrect state POSTINITIALIZATION and forced into state SERVER_STOPPED. Errors may have been discarded.
[22:38:10][服务器线程/信息][FML]:国家发动机处于错误状态POSTINITIALIZATION和被迫SERVER_STOPPED状态。错误可能被丢弃。
这个什么情况????大触求解~
目瞪口呆.jpg,将forge\eclipse目录下的eula.txt中的eula=false改成eula=true 这个我也是第一次知道...
提醒更换darkyoooooo教程的域名http://darkyoooooo.minestudio.org/minecraft-forge-开发实例/
DOMAIN first
[13:43:09] [Client thread/ERROR] [TEXTURE ERRORS]: --------------------------------------------------
[13:43:09] [Client thread/ERROR] [TEXTURE ERRORS]: domain first is missing 2 textures
[13:43:09] [Client thread/ERROR] [TEXTURE ERRORS]: domain first is missing a resource manager - it is probably a side-effect of automatic texture processing
[13:43:09] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[13:43:09] [Client thread/ERROR] [TEXTURE ERRORS]: The missing resources for domain first are:
[13:43:09] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/Rubyore.png
[13:43:09] [Client thread/ERROR] [TEXTURE ERRORS]: textures/items/Ruby.png
[13:43:09] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
这是怎么回事啊!求大神救我!
估计还是纹理位置或modid错了吧...