modをeclipseで起動する方法がわかりません

Modding・サーバPlugin制作・ツール制作など、開発関連の質問があればこちらにお願い致します。
フォーラムルール
質問関連フォーラムで質問する時は、必ず次のトピックを一読/厳守お願い致します。
viewtopic.php?f=5&t=999
  • (PostNo.318696)

modをeclipseで起動する方法がわかりません

投稿記事by haeagea » 2018年8月05日(日) 01:14

はじめて投稿します。

すでに配布されているmodのソースをいじりたいのですが、
eclipseで、配布されているmodをどのようにインポート?すればいいのかがわからず困っています。

◼︎eclipse
◼︎forge-1.7.10-10.13.4.1558-1.7.10-src
◼︎SmartCursor-1.5.0-MC1.7.10.jar

eclipseフォルダのmodsに、
SmartCursor-1.5.0-MC1.7.10.jar
このjarファイルを入れるとクラッシュします。

SmartCursor-1.5.0-MC1.7.10.jar
このmodがどういう仕組みで動いているのかを知りたいのですが、
良い方法がありましたら、教えていただきたいです。
haeagea
ID:38ca03c0
 

  • (PostNo.318697)

Re: modをeclipseで起動する方法がわかりません

投稿記事by elise_blacklab » 2018年8月05日(日) 01:52

基本的に開発環境にMODを「インポート」ということはできなくて,MODがソースを公開しているのであれば,それをコピーして利用する形になります.
言わずもがな,MODのソースを参照するというのは著作権絡みの問題が発生する行為であり,ライセンスによって厳しく制約が課せられているものもあります.
Javaでコンパイルされたパッケージをデコンパイル(ソースを覗く)するツールは多数ありますが,デコンパイルや改変行為がライセンスで禁止されているMODは,絶対にデコンパイルしないでください.

SmartCursorは,MITライセンスの元ソースが公開されていますので,開発環境にコピーして用いることができます.
https://github.com/asaskevich/SmartCursor
メイドつくってたりします.http://6docvc.net/
アバター
elise_blacklab
ID:0f87040f
掘り廃人
 
記事: 2552
登録日時: 2014年6月25日(水) 18:30

  • (PostNo.318698)

Re: modをeclipseで起動する方法がわかりません

投稿記事by haeagea » 2018年8月05日(日) 01:56

こんなにも早く返信を...
涙でそうになりました。。
本当にありがとうございます。。

なるほど、ライセンスで禁止されているかどうかを必ず確認する必要があるのですね。。
今知ってよかったです。

Githubのソース見ました!

早速ZipファイルをDLしたのですが、
これをeclipseのどこにインポートすると動きますでしょうか。。
haeagea
ID:38ca03c0
 

  • (PostNo.318700)

Re: modをeclipseで起動する方法がわかりません

投稿記事by MollyNoah » 2018年8月05日(日) 03:12

投稿者です。
GithubからDLしたソースをすべてコピーしてeclipseに入れると、
無事、Modも正常に動きました!!^^
ありがとうございます!

しかし数分もしないうちに落ちてしまい、コンソールには下記が表示されました。

コード: 全て選択
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
[03:05:01] [main/INFO] [GradleStart]: Extra: []
[03:05:02] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /Users/User/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[03:05:02] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[03:05:02] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[03:05:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[03:05:02] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[03:05:02] [main/INFO] [FML]: Forge Mod Loader version 7.99.36.1558 for Minecraft 1.7.10 loading
[03:05:02] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_131, running on Mac OS X:x86_64:10.11.6, installed at /Applications/Eclipse_4.6.3.app/Contents/java/8/Home/jre
[03:05:02] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[03:05:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[03:05:02] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[03:05:02] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[03:05:02] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[03:05:02] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[03:05:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[03:05:02] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[03:05:02] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[03:05:02] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[03:05:03] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[03:05:04] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[03:05:04] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[03:05:04] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[03:05:05] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[03:05:05] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[03:05:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[03:05:05] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[03:05:07] [main/INFO]: Setting user: Player780
[03:05:09] [Client thread/INFO]: LWJGL Version: 2.9.1
[03:05:10] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: ---- Minecraft Crash Report ----
// Oops.

Time: 18/08/05 3:05
Description: Loading screen debug info

This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
   Minecraft Version: 1.7.10
   Operating System: Mac OS X (x86_64) version 10.11.6
   Java Version: 1.8.0_131, Oracle Corporation
   Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
   Memory: 951248048 bytes (907 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
   JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
   AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
   IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
   FML:
   GL info: ' Vendor: 'ATI Technologies Inc.' Version: '2.1 ATI-10.0.52' Renderer: 'ATI Radeon HD 2600 PRO OpenGL Engine'
[03:05:10] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[03:05:10] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1558 Initialized
[03:05:10] [Client thread/INFO] [FML]: Replaced 183 ore recipies
[03:05:10] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[03:05:11] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[03:05:11] [Client thread/INFO] [FML]: Searching /Users/User/Desktop/forge-1.7.10-10.13.4.1558-1.7.10-src/eclipse/mods for mods
[03:05:28] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[03:05:28] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, SmartCursor, examplemod] at CLIENT
[03:05:28] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, SmartCursor, examplemod] at SERVER
[03:05:29] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:SmartCursor, FMLFileResourcePack:Example Mod
[03:05:29] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[03:05:29] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
[03:05:29] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[03:05:29] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[03:05:29] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[03:05:29] [Client thread/INFO] [FML]: Applying holder lookups
[03:05:29] [Client thread/INFO] [FML]: Holder lookups applied
[03:05:29] [Client thread/INFO] [FML]: Injecting itemstacks
[03:05:29] [Client thread/INFO] [FML]: Itemstack injection complete
[03:05:29] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[03:05:29] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
[03:05:30] [Thread-7/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[03:05:30] [Thread-7/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
2018-08-05 03:05:30.248 java[3062:302225] 03:05:30.248 WARNING:  140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.
[03:05:30] [Thread-7/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[03:05:30] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[03:05:30] [Sound Library Loader/INFO]: Sound engine started
[03:05:32] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas
[03:05:32] [Client thread/INFO]: Created: 16x16 textures/items-atlas
[03:05:32] [Client thread/INFO] [STDOUT]: [com.example.examplemod.ExampleMod:init:18]: はまだよーん >> tile.dirt
[03:05:32] [Client thread/INFO] [FML]: Injecting itemstacks
[03:05:32] [Client thread/INFO] [FML]: Itemstack injection complete
[03:05:32] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods
[03:05:32] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:SmartCursor, FMLFileResourcePack:Example Mod
[03:05:33] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[03:05:33] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[03:05:33] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[03:05:33] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down...
[03:05:33] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
[03:05:33] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[03:05:33] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[03:05:33] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
[03:05:34] [Thread-9/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[03:05:34] [Thread-9/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[03:05:34] [Thread-9/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[03:05:34] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[03:05:34] [Sound Library Loader/INFO]: Sound engine started
[03:05:35] [Client thread/ERROR]: ########## GL ERROR ##########
[03:05:35] [Client thread/ERROR]: @ Post startup
[03:05:35] [Client thread/ERROR]: 1281: Invalid value
[03:06:38] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10
[03:06:38] [Server thread/INFO]: Generating keypair
[03:06:39] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[03:06:39] [Server thread/INFO] [FML]: Applying holder lookups
[03:06:39] [Server thread/INFO] [FML]: Holder lookups applied
[03:06:39] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@3da38990)
[03:06:39] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@3da38990)
[03:06:39] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@3da38990)
[03:06:39] [Server thread/INFO]: Preparing start region for level 0
[03:06:40] [Server thread/INFO]: Preparing spawn area: 11%
[03:06:41] [Server thread/INFO]: Preparing spawn area: 67%
[03:06:42] [Server thread/INFO]: Changing view distance to 3, from 10
[03:06:42] [Netty Client IO #0/INFO] [FML]: Server protocol version 2
[03:06:42] [Netty IO #1/INFO] [FML]: Client protocol version 2
[03:06:42] [Netty IO #1/INFO] [FML]: Client attempting to join with 5 mods : SmartCursor@1.4.5,FML@7.10.99.99,Forge@10.13.4.1558,mcp@9.05,examplemod@1.0
[03:06:42] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
[03:06:42] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER
[03:06:42] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established
[03:06:42] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[03:06:42] [Server thread/INFO]: Player780[local:E:e071bf46] logged in with entity id 412 at (-182.47519846345202, 69.0, 243.43455931606582)
[03:06:43] [Server thread/INFO]: Player780 joined the game
[03:06:44] [Server thread/INFO]: Saving and pausing game...
[03:06:44] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[03:06:44] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[03:06:44] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[03:06:45] [Thread-13/INFO] [STDOUT]: [com.asaskevich.smartcursor.utils.UpdateManager$1:run:36]: Unable to fetch information about updates!
[03:06:51] [Server thread/INFO]: Player780 has just earned the achievement [Taking Inventory]
[03:06:51] [Client thread/INFO]: [CHAT] Player780 has just earned the achievement [Taking Inventory]
[03:07:02] [Client thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.entity.player.ItemTooltipEvent@277dfd4f:
java.lang.Error: Unresolved compilation problems:
   KEY_LSHIFT は解決できないか、フィールドではありません
   KEY_RSHIFT は解決できないか、フィールドではありません

   at com.asaskevich.smartcursor.RenderHandler.addTooltipText(RenderHandler.java:361) ~[RenderHandler.class:?]
   at cpw.mods.fml.common.eventhandler.ASMEventHandler_7_RenderHandler_addTooltipText_ItemTooltipEvent.invoke(.dynamic) ~[?:?]
   at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?]
   at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) [EventBus.class:?]
   at net.minecraftforge.event.ForgeEventFactory.onItemTooltip(ForgeEventFactory.java:162) [ForgeEventFactory.class:?]
   at net.minecraft.item.ItemStack.getTooltip(ItemStack.java:742) [ItemStack.class:?]
   at net.minecraft.client.gui.GuiScreen.renderToolTip(GuiScreen.java:124) [GuiScreen.class:?]
   at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:186) [GuiContainer.class:?]
   at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) [InventoryEffectRenderer.class:?]
   at net.minecraft.client.gui.inventory.GuiInventory.drawScreen(GuiInventory.java:74) [GuiInventory.class:?]
   at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?]
   at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1067) [Minecraft.class:?]
   at net.minecraft.client.Minecraft.run(Minecraft.java:962) [Minecraft.class:?]
   at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_131]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131]
   at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
   at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
   at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
   at GradleStart.main(Unknown Source) [start/:?]
[03:07:02] [Client thread/ERROR] [FML]: Index: 1 Listeners:
[03:07:02] [Client thread/ERROR] [FML]: 0: NORMAL
[03:07:02] [Client thread/ERROR] [FML]: 1: ASM: com.asaskevich.smartcursor.RenderHandler@2254cdc0 addTooltipText(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V
[03:07:03] [Server thread/INFO]: Stopping server
[03:07:03] [Server thread/INFO]: Saving players
[03:07:03] [Server thread/INFO]: Saving worlds
[03:07:03] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[03:07:03] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[03:07:03] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[03:07:04] [Server thread/INFO] [FML]: Unloading dimension 0
[03:07:04] [Server thread/INFO] [FML]: Unloading dimension -1
[03:07:04] [Server thread/INFO] [FML]: Unloading dimension 1
[03:07:04] [Server thread/INFO] [FML]: Applying holder lookups
[03:07:04] [Server thread/INFO] [FML]: Holder lookups applied
[03:07:04] [Client thread/FATAL]: Reported exception thrown!
net.minecraft.util.ReportedException: Rendering screen
   at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1168) ~[EntityRenderer.class:?]
   at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1067) ~[Minecraft.class:?]
   at net.minecraft.client.Minecraft.run(Minecraft.java:962) [Minecraft.class:?]
   at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_131]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131]
   at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
   at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
   at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
   at GradleStart.main(Unknown Source) [start/:?]
Caused by: java.lang.Error: Unresolved compilation problems:
   KEY_LSHIFT は解決できないか、フィールドではありません
   KEY_RSHIFT は解決できないか、フィールドではありません

   at com.asaskevich.smartcursor.RenderHandler.addTooltipText(RenderHandler.java:361) ~[RenderHandler.class:?]
   at cpw.mods.fml.common.eventhandler.ASMEventHandler_7_RenderHandler_addTooltipText_ItemTooltipEvent.invoke(.dynamic) ~[?:?]
   at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?]
   at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) ~[EventBus.class:?]
   at net.minecraftforge.event.ForgeEventFactory.onItemTooltip(ForgeEventFactory.java:162) ~[ForgeEventFactory.class:?]
   at net.minecraft.item.ItemStack.getTooltip(ItemStack.java:742) ~[ItemStack.class:?]
   at net.minecraft.client.gui.GuiScreen.renderToolTip(GuiScreen.java:124) ~[GuiScreen.class:?]
   at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:186) ~[GuiContainer.class:?]
   at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) ~[InventoryEffectRenderer.class:?]
   at net.minecraft.client.gui.inventory.GuiInventory.drawScreen(GuiInventory.java:74) ~[GuiInventory.class:?]
   at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) ~[EntityRenderer.class:?]
   ... 11 more
[03:07:04] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ----
// This doesn't make any sense!

Time: 18/08/05 3:07
Description: Rendering screen

java.lang.Error: Unresolved compilation problems:
   KEY_LSHIFT は解決できないか、フィールドではありません
   KEY_RSHIFT は解決できないか、フィールドではありません

   at com.asaskevich.smartcursor.RenderHandler.addTooltipText(RenderHandler.java:361)
   at cpw.mods.fml.common.eventhandler.ASMEventHandler_7_RenderHandler_addTooltipText_ItemTooltipEvent.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.minecraftforge.event.ForgeEventFactory.onItemTooltip(ForgeEventFactory.java:162)
   at net.minecraft.item.ItemStack.getTooltip(ItemStack.java:742)
   at net.minecraft.client.gui.GuiScreen.renderToolTip(GuiScreen.java:124)
   at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:186)
   at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44)
   at net.minecraft.client.gui.inventory.GuiInventory.drawScreen(GuiInventory.java:74)
   at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137)
   at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1067)
   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(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   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)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
   at com.asaskevich.smartcursor.RenderHandler.addTooltipText(RenderHandler.java:361)
   at cpw.mods.fml.common.eventhandler.ASMEventHandler_7_RenderHandler_addTooltipText_ItemTooltipEvent.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.minecraftforge.event.ForgeEventFactory.onItemTooltip(ForgeEventFactory.java:162)
   at net.minecraft.item.ItemStack.getTooltip(ItemStack.java:742)
   at net.minecraft.client.gui.GuiScreen.renderToolTip(GuiScreen.java:124)
   at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:186)
   at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44)
   at net.minecraft.client.gui.inventory.GuiInventory.drawScreen(GuiInventory.java:74)

-- Screen render details --
Details:
   Screen name: net.minecraft.client.gui.inventory.GuiInventory
   Mouse location: Scaled: (139, 190). Absolute: (278, 98)
   Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2

-- Affected level --
Details:
   Level name: MpServer
   All players: 1 total; [EntityClientPlayerMP['Player780'/412, l='MpServer', x=-184.63, y=70.62, z=237.05]]
   Chunk stats: MultiplayerChunkCache: 49, 49
   Level seed: 0
   Level generator: ID 00 - default, ver 1. Features enabled: false
   Level generator options:
   Level spawn location: World: (-180,64,232), Chunk: (at 12,4,8 in -12,14; contains blocks -192,0,224 to -177,255,239), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
   Level time: 1474 game time, 1474 day time
   Level dimension: 0
   Level storage version: 0x00000 - Unknown?
   Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
   Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
   Forced entities: 45 total; [EntityChicken['Chicken'/128, l='MpServer', x=-221.50, y=73.00, z=286.50], EntityChicken['Chicken'/129, l='MpServer', x=-223.50, y=73.00, z=287.50], EntitySquid['Squid'/193, l='MpServer', x=-145.84, y=55.00, z=197.50], EntityItem['item.item.dyePowder.black'/513, l='MpServer', x=-143.22, y=54.13, z=198.25], EntitySquid['Squid'/194, l='MpServer', x=-146.28, y=62.38, z=201.06], EntityChicken['Chicken'/195, l='MpServer', x=-155.50, y=63.00, z=209.50], EntityChicken['Chicken'/131, l='MpServer', x=-220.44, y=69.45, z=303.53], EntitySquid['Squid'/196, l='MpServer', x=-146.97, y=62.00, z=208.50], EntityChicken['Chicken'/197, l='MpServer', x=-155.38, y=68.00, z=215.16], EntityChicken['Chicken'/198, l='MpServer', x=-156.81, y=69.00, z=213.50], EntityChicken['Chicken'/262, l='MpServer', x=-124.56, y=63.71, z=269.47], EntitySkeleton['Skeleton'/138, l='MpServer', x=-194.50, y=56.00, z=301.50], EntitySkeleton['Skeleton'/139, l='MpServer', x=-195.50, y=55.52, z=308.13], EntityChicken['Chicken'/81, l='MpServer', x=-237.56, y=64.00, z=268.56], EntityItem['item.tile.sapling.oak'/530, l='MpServer', x=-184.25, y=69.13, z=244.31], EntityChicken['Chicken'/83, l='MpServer', x=-236.47, y=70.00, z=296.34], EntityItem['item.tile.sapling.oak'/150, l='MpServer', x=-181.13, y=73.13, z=244.38], EntityClientPlayerMP['Player780'/412, l='MpServer', x=-184.63, y=70.62, z=237.05], EntityChicken['Chicken'/102, l='MpServer', x=-230.50, y=67.00, z=230.50], EntityChicken['Chicken'/103, l='MpServer', x=-229.50, y=67.00, z=226.50], EntitySquid['Squid'/231, l='MpServer', x=-142.92, y=56.13, z=198.49], EntityChicken['Chicken'/104, l='MpServer', x=-227.50, y=66.00, z=229.50], EntityEnderman['Enderman'/232, l='MpServer', x=-141.97, y=56.00, z=206.50], EntityChicken['Chicken'/105, l='MpServer', x=-226.50, y=66.00, z=231.50], EntityCreeper['Creeper'/233, l='MpServer', x=-140.50, y=56.00, z=206.50], EntityChicken['Chicken'/106, l='MpServer', x=-224.50, y=76.00, z=286.50], EntityBat['Bat'/235, l='MpServer', x=-133.38, y=47.84, z=221.44], EntityBat['Bat'/107, l='MpServer', x=-251.34, y=53.24, z=298.39], EntityChicken['Chicken'/172, l='MpServer', x=-159.47, y=67.00, z=218.51], EntityBat['Bat'/236, l='MpServer', x=-128.28, y=34.10, z=238.25], EntityChicken['Chicken'/108, l='MpServer', x=-235.56, y=70.00, z=292.56], EntityZombie['Zombie'/237, l='MpServer', x=-138.03, y=32.00, z=228.59], EntityWolf['Wolf'/238, l='MpServer', x=-131.50, y=67.00, z=252.50], EntityWolf['Wolf'/239, l='MpServer', x=-132.00, y=64.00, z=255.56], EntityWolf['Wolf'/240, l='MpServer', x=-134.50, y=64.00, z=250.50], EntityWolf['Wolf'/241, l='MpServer', x=-137.28, y=63.00, z=259.31], EntityZombie['Zombie'/242, l='MpServer', x=-130.50, y=38.00, z=279.50], EntityZombie['Zombie'/120, l='MpServer', x=-213.44, y=37.00, z=197.56], EntityWitch['Witch'/121, l='MpServer', x=-215.31, y=29.00, z=222.31], EntitySkeleton['Skeleton'/122, l='MpServer', x=-213.91, y=31.00, z=221.44], EntityCreeper['Creeper'/123, l='MpServer', x=-218.94, y=32.00, z=211.56], EntitySkeleton['Skeleton'/124, l='MpServer', x=-210.50, y=29.00, z=227.50], EntitySkeleton['Skeleton'/125, l='MpServer', x=-211.50, y=29.00, z=227.50], EntityItem['item.item.string'/126, l='MpServer', x=-217.88, y=33.13, z=231.06], EntityChicken['Chicken'/127, l='MpServer', x=-223.50, y=73.00, z=287.50]]
   Retry entities: 0 total; []
   Server brand: fml,forge
   Server type: Integrated singleplayer server
Stacktrace:
   at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415)
   at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2566)
   at net.minecraft.client.Minecraft.run(Minecraft.java:984)
   at net.minecraft.client.main.Main.main(Main.java:164)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   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)

-- System Details --
Details:
   Minecraft Version: 1.7.10
   Operating System: Mac OS X (x86_64) version 10.11.6
   Java Version: 1.8.0_131, Oracle Corporation
   Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
   Memory: 817243088 bytes (779 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
   JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
   AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
   IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
   FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1558 5 mods loaded, 5 mods active
   States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
   UCHIJAAAA   mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
   UCHIJAAAA   FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar)
   UCHIJAAAA   Forge{10.13.4.1558} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar)
   UCHIJAAAA   SmartCursor{1.4.5} [SmartCursor] (bin)
   UCHIJAAAA   examplemod{1.0} [Example Mod] (bin)
   GL info: ' Vendor: 'ATI Technologies Inc.' Version: '2.1 ATI-10.0.52' Renderer: 'ATI Radeon HD 2600 PRO OpenGL Engine'
   Launched Version: 1.7.10
   LWJGL: 2.9.1
   OpenGL: ATI Radeon HD 2600 PRO OpenGL Engine GL version 2.1 ATI-10.0.52, ATI Technologies Inc.
   GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because ARB_framebuffer_object is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.

   Is Modded: Definitely; Client brand changed to 'fml,forge'
   Type: Client (map_client.txt)
   Resource Packs: []
   Current Language: English (US)
   Profiler Position: N/A (disabled)
   Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
   Anisotropic Filtering: Off (1)
[03:07:04] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# /Users/User/Desktop/forge-1.7.10-10.13.4.1558-1.7.10-src/eclipse/./crash-reports/crash-2018-08-05_03.07.04-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed


また原因かどうかわかりませんが、
RenderHandlerクラスの下記にエラーがあるようです。

コード: 全て選択
// ////////////////////////
   @SubscribeEvent
   public void addTooltipText(ItemTooltipEvent event) {
      ItemStack stack = event.itemStack;
      if (Keyboard.isKeyDown(Keyboard.KEY_LSHIFT) || Keyboard.isKeyDown(Keyboard.KEY_RSHIFT)) {
               if (event.showAdvancedItemTooltips)
                  {
                   event.toolTip.add("Name: " + GameData.getItemRegistry().getNameForObject(stack.getItem()));
                   event.toolTip.add("Unlocalized name:" + stack.getUnlocalizedName());
                   for (int id : OreDictionary.getOreIDs(stack)) event.toolTip.add(EnumChatFormatting.ITALIC + OreDictionary.getOreName(id));
                  }
           }
      event.toolTip.add(EnumChatFormatting.AQUA + "" + EnumChatFormatting.ITALIC + ModIdentification.nameFromStack(stack) + EnumChatFormatting.RESET);
   }


KEY_LSHIFTとKEY_RSHIFTについて、
解決できないかフィールドではありませんとエラーが出ます。

起動してすぐに落ちてしまうことと関係があるのでしょうか。
MollyNoah
ID:38ca03c0
水から上がったとこ
 
記事: 4
登録日時: 2018年8月05日(日) 02:00


Return to 質問:開発・制作関連

x