由於最近太忙了,所以無力一口氣把所有教程更新完.
所以打算現在這裡放出預覽版然後慢慢更新,全部寫完後再正式發到論壇.
注意由於是預覽版,所以隨時都會有更新和修正.
基礎篇
第一章: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錯了吧...