但しクラッシュに関する個別の質問は受け付けていません。
MODを導入していなくても発生するクラッシュや謎のエラー。
自分では分からないけれども、なんでも質問して回答する人の負担になるのは嫌だ。
そんな方のために、クラッシュやエラーをほとんど解読せずに自己解決できる(かも知れない)方法をここに書いておきたいと思います。
※冒頭にもありますが、ここは基本編です。MOD(Forge含む)を導入したうえでのクラッシュは、MOD編を御覧ください。
1.クラッシュする場合
MODを導入していないバニラの場合でのクラッシュはそこまで起こりませんが、PCのスペックやグラフィックドライバのバージョンなどが原因でクラッシュする場合はあります。
対処方法
①クラッシュレポートを元に検索をかける
Minecraftのバージョンによって形が異なりますが、基本的なクラッシュレポートは下のような形になっているかと思われます。(MOD導入済みでのクラッシュですが、構成的には余り変わらないので流用)
- コード: 全て選択
---- Minecraft Crash Report ----
// Oh - I know what I did wrong!
Time: 15/07/29 11:58
Description: Initializing game
java.lang.IllegalArgumentException: Attempted to register a entity with invalid ID: 530 Name: THFairy Class: class thKaguyaMod.entity.living.EntityTHFairy
at net.minecraft.entity.EntityList.func_75618_a(EntityList.java:87)
at net.minecraft.entity.EntityList.func_75614_a(EntityList.java:108)
at cpw.mods.fml.common.registry.EntityRegistry.registerGlobalEntityID(EntityRegistry.java:251)
at thKaguyaMod.CommonProxy.registerEntitys(CommonProxy.java:214)
at thKaguyaMod.THKaguyaCore.preInit(THKaguyaCore.java:95)
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:483)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
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:483)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878)
at net.minecraft.client.main.Main.main(SourceFile:148)
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:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.entity.EntityList.func_75618_a(EntityList.java:87)
at net.minecraft.entity.EntityList.func_75614_a(EntityList.java:108)
at cpw.mods.fml.common.registry.EntityRegistry.registerGlobalEntityID(EntityRegistry.java:251)
at thKaguyaMod.CommonProxy.registerEntitys(CommonProxy.java:214)
at thKaguyaMod.THKaguyaCore.preInit(THKaguyaCore.java:95)
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:483)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
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:483)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878)
at net.minecraft.client.main.Main.main(SourceFile:148)
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:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows Vista (x86) version 6.0
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 373120096 bytes (355 MB) / 658980864 bytes (628 MB) up to 1020067840 bytes (972 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn512M
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: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1490 24 mods loaded, 24 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCH mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCH FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1490-1.7.10.jar)
UCH Forge{10.13.4.1490} [Minecraft Forge] (forge-1.7.10-10.13.4.1490-1.7.10.jar)
UCH CodeChickenCore{1.0.7.46} [CodeChicken Core] (minecraft.jar)
UCH <CoFH ASM>{000} [CoFH ASM Data Initialization] (minecraft.jar)
UCH CoFHCore{1.7.10R3.0.0B9} [CoFH Core] (CoFHCore-[1.7.10]3.0.0B9-40.jar)
UCH BuildCraft|Core{6.4.1} [BuildCraft] (buildcraft-6.4.1.jar)
UCH BuildCraft|Transport{6.4.1} [BC Transport] (buildcraft-6.4.1.jar)
UCH BuildCraft|Silicon{6.4.1} [BC Silicon] (buildcraft-6.4.1.jar)
UCH BuildCraft|Builders{6.4.1} [BC Builders] (buildcraft-6.4.1.jar)
UCH BuildCraft|Energy{6.4.1} [BC Energy] (buildcraft-6.4.1.jar)
UCH BuildCraft|Factory{6.4.1} [BC Factory] (buildcraft-6.4.1.jar)
UCH ChickenChunks{1.3.4.17} [ChickenChunks] (ChickenChunks-1.7.10-1.3.4.17-universal.jar)
UCH chocolateQuest{1.0} [Chocolate Quest] (chocolateQuest-1.7.10-1.0.jar)
UCH CompactEngine{1710-626V2} [CompactEngine] (CompactEngine-1710-626V2.jar)
UCH customnpcs{1.7.10b} [CustomNpcs] (CustomNPCs_1.7.10b (2).jar)
UCH EnderIO{1.7.10-2.2.8.367} [Ender IO] (EnderIO-1.7.10-2.2.8.367.jar)
UCH ExtraUtilities{1.2.4b} [Extra Utilities] (extrautilities-1.2.4b.jar)
UCH extvil{1.7.10-2.4} [Extended_Villages] (extvil-1.7.10-2.5.jar)
UCH ssHookShot{0} [HookShot] (HookShotMOD_1710_2 (1).jar)
UCH idChecker{1.7.10} [ID Checker] (IDChecker-1.7.10b.jar)
UCE ImmibisCore{59.0.1} [Immibis Core] (Immibis-Core-1.7.10.jar)
UCH stationsMod{1.7.10.3} [Stations Mod] (StationsMod-1.7.10.3.jar)
UCE THKaguyaMod{2.90-1.7.10} [Itutu no Nandai MOD+ (Touhou Items Mod)] (五つの難題MOD%2B ver2.90-1.7.10 (1).zip)
GL info: ' Vendor: 'ATI Technologies Inc.' Version: '3.3.11672 Compatibility Profile Context' Renderer: 'ATI Radeon HD 3600 Series'
Launched Version: 1.7.10-Forge10.13.4.1490-1.7.10
LWJGL: 2.9.1
OpenGL: ATI Radeon HD 3600 Series GL version 3.3.11672 Compatibility Profile Context, ATI Technologies Inc.
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 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: 日本語 (日本)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: Off (1)
※古いバージョンは情報こそほぼ同じですが、並びが違うのでクラッシュレポートの読み方等も参考にしてください。
このように長い英文が出てくるとそれだけでも読むのが嫌になってしまうかと思うのですが、注目していただきたいのは5行目~10行目あたり。java.~~~の下にatが並んでいる部分です。
ここに必ずしもjava.~~という文字列があるわけではなく、エラーの原因によっては違う内容が書かれている場合もありますが、基本的にはこの位置にクラッシュレポートの生成原因であるエラーが書かれています。
その他に、クラッシュレポートの生成原因になっていなくても根本的な原因が、クラッシュレポート内にCaused by~~の形で出現している場合もあるので改善しない場合はそちらから調べてみてください。
※詳細はelise_blacklabさんの返信が参考になるかと思われます。
とにかくこの周辺が問題の原因(の概要)を示していますので、この部分をコピーして検索すれば原因が分かる場合があります。
例えばこのクラッシュの場合は、
Description: Initializing game
java.lang.IllegalArgumentException: Attempted to register a entity with invalid ID: 530 Name: THFairy Class: class thKaguyaMod.entity.living.EntityTHFairy
at net.minecraft.entity.EntityList.func_75618_a(EntityList.java:87)
java.lang.IllegalArgumentException: Attempted to register a entity with invalid ID: 530 Name: THFairy Class: class thKaguyaMod.entity.living.EntityTHFairy
at net.minecraft.entity.EntityList.func_75618_a(EntityList.java:87)
あたりが当てはまりますが、検索するときはまずDescription:の行を抜かして、java.~~~(に該当する部分)と一つ目のatの部分で検索してみてください。その検索結果で、2つ目のat以降が全然違う、という場合にはDescriptionを入れて改めて検索して探してください。
(検索結果からどう解決するかについては②で詳しく記述します)
※エラーの内容や形式が違っても、↑の赤字部分は基本的にクラッシュの原因を示しています。
ここで言っておきたいのですが、MODが導入されていない場合の描画関連のエラーは、全く同じ案件が少ない又は無い場合が多いです。そういった場合は、とりあえずグラフィックドライバを更新してみて、JapanWikiをもとにスペックを確認してみた上で、改善しない場合は諦めて質問することを推奨します。
②検索結果の見方
レポートから検索をかけてみたけれど、結果が多すぎて何がなんだかわからない・・・
そういった際に見分けるコツは大まかに以下の5つです。
・このフォーラムの投稿が引っかかった場合はまずそこを見てみる。
・日本語でもYahoo知恵袋などの情報は、質問者からの解決報告が無い場合は慎重に判断する。
・英語の結果しかなくても諦めない。Google翻訳等を活用して出来る限り読む。
・解決した、と報告があるものを出来るだけ探す。
・レポートが細部まで一致しているか確認する。
この5つを踏まえて判断すれば、ある程度正確な情報が得られるかと思います。あとはその内容に合わせて操作するだけ。
お疲れ様でした。
2.エラーログしか出ない場合
まれに、クラッシュレポートが生成されず、手がかりが無いという状態になることもあります。そういった場合、終了時にランチャーにログが出たり、バージョンによっては.minecraft直下やlogs等にログが生成されたりするときはそれに手がかりがあるかもしれません。
ただ、エラーログは全体のログですので、クラッシュレポートのように原因に関係がある情報しか書いていないと言う訳ではありません。そのため、読む場合は次のポイントを気にかけつつ見ると分かりやすくなるかもしれません。
・[警告]よりは[重大]の部分に原因が書いてあることが多い
・基本的に下から読んでいき、怪しい部分を探す
・java.lang.~~~という文字列があったら、1で書いたクラッシュレポートと同じように調べる。
原因らしき部分が分かれば、それを基にして調べていきます。
検索で調べる方法
エラーログでも、基本はクラッシュレポートと同じように検索で調べる方法が使えます。
ただ、その際注意するのは、[01:22:16 ERROR]:といった時間の部分は検索に使わず、そこの部分だけ外して検索すること。
同じ時間に同じ原因でエラーが起こることはそうそう無いので、検索結果に影響が出てしまいます。
そこさえ注意すれば、後はクラッシュレポートと同じです。
3.何も情報が無い場合
エラーログも、通常のログも無く、クラッシュレポートも出ない場合は、基本的には諦めて質問・・・と言いたい所ですが、質問前に一応試しておいたほうがいいことがいくつかあります。
まずは、JapanWikiのトラブルシューティングを見て、自分の環境に当てはまることがあれば変更してみてください。但し、大規模な変更をする際はバックアップを取ることを推奨します。
また、質問せずに解決するのなら多少強引な方法でもかまわない、という方は、.minecraft以下を、ワールドデータなどのバックアップを取った上で全削除し、ランチャーを起動することで再生成してみてください。(解決することもありますがそこまでお勧めしません)
4.全ての方法が役に立たない場合(質問する場合)
上記の全ての方法が役に立たず、質問をする場合は必ず質問の仕方を熟読してください。情報が不足したりしていると、正確な回答が得られない場合があります。
また、質問をする際は、態度や言葉遣いにも十分注意してください。
それを守れば、恐らく適切な回答が得られるかと思います。