由于最近太忙了,所以无力一口气把所有教程更新完.
所以打算现在这里放出预览版然后慢慢更新,全部写完后再正式发到论坛.
注意由于是预览版,所以随时都会有更新和修正.
基础篇
第一章: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错了吧...