使用: - Minecraft 1.7.10 - 锻造10.13.4.1614 - [Mod] Zhark博士的Mo Creatures(不足以发布链接) - [Mod]现实世界发生器(RWG)2 - [Mod] Zhark博士的自定义暴徒Spawner(CMS)(没有足够的代表发布链接)
我尝试修改.minecraft文件夹中的配置文件,以通过CMS将所有RWG Biome添加到MoCreatures mod的可接受的生成位置。我修改了在的EntityBiomeGroups.cfg文件 C:... \应用程序数据\ Roaming.minecraft \配置\ CustomSpawner \游戏地图
仅用于文件中使用的代码示例:
S:MOC_MEDIUMFISH_DEFAULT <RWG|rwg_oceanIce:RWG|rwg_oceanCold:RWG|rwg_oceanTemperate:RWG|rwg_oceanHot:RWG|rwg_oceanWet:RWG|rwg_oceanOasis:MC|Swampland:MC|MushroomIslandShore:MC|Beach:MC|Stone Beach:MC|Cold Beach:MC|Swampland M>
修改文件并多次检查以确保所有内容都输入正确后,我在尝试加载任何我的世界时收到此错误:
Description: Exception in server tick loop
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1954)
at drzhark.customspawner.utils.CMSUtils.parseName(CMSUtils.java:63)
at drzhark.customspawner.environment.EnvironmentSettings.populateSpawnBiomes(EnvironmentSettings.java:732)
at drzhark.customspawner.environment.EnvironmentSettings.updateSettings(EnvironmentSettings.java:259)
at drzhark.customspawner.utils.CMSUtils.addWorldEnvironment(CMSUtils.java:128)
at drzhark.customspawner.EventHooks.onWorldLoad(EventHooks.java:175)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_156_EventHooks_onWorldLoad_Load.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
at net.minecraft.server.integrated.IntegratedServer.func_71247_a(IntegratedServer.java:73)
at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:92)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:387)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
我完全不理解这一点。它能帮我找到错误的位置吗?谁能读到这个并告诉我在哪里可以找到它?我在这里不知所措。