Вылет

Версия Minecraft
1.7.10
33
1
0
Ребят помогите я новичок , вобщем сделал я предмет - eclipse не ругается ни на что , а вот сам майн вылетает с ошибкой:

Код:
[12:57:35] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
[12:57:35] [Client thread/ERROR] [FML]: 
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.1614-1.7.10.jar) 
UCH Forge{10.13.4.1614} [Minecraft Forge] (forge-1.7.10-10.13.4.1614-1.7.10.jar) 
UCE megamod{0.0.0.0.0.2} [Modex] (modid-1.0.jar) 
[12:57:35] [Client thread/ERROR] [FML]: The following problems were captured during this phase
[12:57:35] [Client thread/ERROR] [FML]: Caught exception from megamod
java.lang.NullPointerException: Can't add null-object to the registry, name megamod:microsxem.
(Скопировал все со значением error)

ну из ошибки нашол у себя в коде описанный фрагмент (скопирую класс весь может что не так сделал):


Код:
package divanchik.megamod;

import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.item.Item;

public class Microsxem extends Item {
public Microsxem(int par1)
{
        super();
        this.setCreativeTab(BaseMegaMode.tabTutorial);
}
public void registerIcons(IIconRegister par1IconRegister)
{
        this.itemIcon = par1IconRegister.registerIcon("megamod:Microsxem");
}
}

И навсякий случай главный класс :


Код:
package divanchik.megamod;


import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;

@Mod (modid = "megamod", name = "Modex", version = "0.0.0.0.0.2")
public class BaseMegaMode {

public static Block systemcore;
public static CreativeTabs tabTutorial = new TabTutorial("Tab");
    public static Item Microsxem;
@EventHandler
public void preLoad(FMLPreInitializationEvent event)
{
systemcore = new BlockBestBlockEver();

GameRegistry.registerBlock(systemcore, "systemcore");

GameRegistry.registerItem(Microsxem,"microsxem");

GameRegistry.addRecipe(new ItemStack(BaseMegaMode.systemcore, 1), 
                 new Object[]{ "###", "#X#", "###",
               ('X'), Items.lava_bucket,  ('#'), BaseMegaMode.Microsxem});
 
GameRegistry.addRecipe(new ItemStack(BaseMegaMode.Microsxem, 1), 
                 new Object[]{ "X#X", "###", "X#X",
                 ('X'), Blocks.wool, ('#'), Items.iron_ingot,});
}


}


(Сорр если что под спойлер не понял как код поставить)
 
33
1
0
Onneros написал(а):
Полный краш-лог отправь.

Держи : 
[L] Minecraft Launcher [18;8] has initialized
[L] Running under TLauncher 1.731 Legacy
[L] Current machine: Windows 7 (6.1) x32, Java 1.8.0_101 (1.8), 1910 MB RAM, 2x CPU
[L] Collecting info...
[L] Force update: false
[L] Selected version: ForgeOptiFine 1.7.10
[L] Selected account: Account{displayName=Dimchik, userid=Dimchik, uuid=null, username=dimchik}
[L] Version sync info: VersionSyncInfo{id='ForgeOptiFine 1.7.10',
local=CompleteVersion{id='ForgeOptiFine 1.7.10', time=Sun Jul 17 13:18:17 MSK 2016, release=Wed May 14 21:29:23 MSK 2014, type=modified, class=net.minecraft.launchwrapper.Launch, minimumVersion=16, assets='1.7.10', source=local_version_repo, list=net.minecraft.launcher.updater.ExtraVersionList@17d15d1, libraries=[Library{name='optifine:OptiFine:1.7.10_HD_U_D6', rules=null, natives=null, extract=null, packed='null'}, Library{name='net.minecraftforge:forge:1.7.10-10.13.4.1614-1.7.10', rules=null, natives=null, extract=null, packed='null'}, Library{name='net.minecraft:launchwrapper:1.12', rules=null, natives=null, extract=null, packed='null'}, Library{name='org.ow2.asm:asm-all:5.0.3', rules=null, natives=null, extract=null, packed='null'}, Library{name='com.typesafe.akka:akka-actor_2.11:2.3.3', rules=null, natives=null, extract=null, packed='forge'}, Library{name='com.typesafe:config:1.2.1', rules=null, natives=null, extract=null, packed='forge'}, Library{name='org.scala-lang:scala-actors-migration_2.11:1.1.0', rules=null, natives=null, extract=null, packed='forge'}, Library{name='org.scala-lang:scala-compiler:2.11.1', rules=null, natives=null, extract=null, packed='forge'}, Library{name='org.scala-lang.plugins:scala-continuations-library_2.11:1.0.2', rules=null, natives=null, extract=null, packed='forge'}, Library{name='org.scala-lang.plugins:scala-continuations-plugin_2.11.1:1.0.2', rules=null, natives=null, extract=null, packed='forge'}, Library{name='org.scala-lang:scala-library:2.11.1', rules=null, natives=null, extract=null, packed='forge'}, Library{name='org.scala-lang:scala-parser-combinators_2.11:1.0.1', rules=null, natives=null, extract=null, packed='forge'}, Library{name='org.scala-lang:scala-reflect:2.11.1', rules=null, natives=null, extract=null, packed='forge'}, Library{name='org.scala-lang:scala-swing_2.11:1.0.1', rules=null, natives=null, extract=null, packed='forge'}, Library{name='org.scala-lang:scala-xml_2.11:1.0.2', rules=null, natives=null, extract=null, packed='forge'}, Library{name='lzma:lzma:0.0.1', rules=null, natives=null, extract=null, packed='null'}, Library{name='com.google.guava:guava:17.0', rules=null, natives=null, extract=null, packed='null'}, Library{name='com.mojang:netty:1.6', rules=null, natives=null, extract=null, packed='null'}, Library{name='com.mojang:realms:1.3.5', rules=null, natives=null, extract=null, packed='null'}, Library{name='org.apache.commons:commons-compress:1.8.1', rules=null, natives=null, extract=null, packed='null'}, Library{name='org.apache.httpcomponents:httpclient:4.3.3', rules=null, natives=null, extract=null, packed='null'}, Library{name='commons-logging:commons-logging:1.1.3', rules=null, natives=null, extract=null, packed='null'}, Library{name='org.apache.httpcomponents:httpcore:4.3.2', rules=null, natives=null, extract=null, packed='null'}, Library{name='java3d:vecmath:1.3.1', rules=null, natives=null, extract=null, packed='null'}, Library{name='net.sf.trove4j:trove4j:3.0.3', rules=null, natives=null, extract=null, packed='null'}, Library{name='com.ibm.icu:icu4j-core-mojang:51.2', rules=null, natives=null, extract=null, packed='null'}, Library{name='net.sf.jopt-simple:jopt-simple:4.5', rules=null, natives=null, extract=null, packed='null'}, Library{name='com.paulscode:codecjorbis:20101023', rules=null, natives=null, extract=null, packed='null'}, Library{name='com.paulscode:codecwav:20101023', rules=null, natives=null, extract=null, packed='null'}, Library{name='com.paulscode:libraryjavasound:20101123', rules=null, natives=null, extract=null, packed='null'}, Library{name='com.paulscode:librarylwjglopenal:20100824', rules=null, natives=null, extract=null, packed='null'}, Library{name='com.paulscode:soundsystem:20120107', rules=null, natives=null, extract=null, packed='null'}, Library{name='io.netty:netty-all:4.0.10.Final', rules=null, natives=null, extract=null, packed='null'}, Library{name='com.google.guava:guava:15.0', rules=null, natives=null, extract=null, packed='null'}, Library{name='org.apache.commons:commons-lang3:3.1', rules=null, natives=null, extract=null, packed='null'}, Library{name='commons-io:commons-io:2.4', rules=null, natives=null, extract=null, packed='null'}, Library{name='commons-codec:commons-codec:1.9', rules=null, natives=null, extract=null, packed='null'}, Library{name='net.java.jinput:jinput:2.0.5', rules=null, natives=null, extract=null, packed='null'}, Library{name='net.java.jutils:jutils:1.0.0', rules=null, natives=null, extract=null, packed='null'}, Library{name='com.google.code.gson:gson:2.2.4', rules=null, natives=null, extract=null, packed='null'}, Library{name='com.mojang:authlib:1.5.21', rules=null, natives=null, extract=null, packed='null'}, Library{name='org.apache.logging.log4j:log4j-api:2.0-beta9', rules=null, natives=null, extract=null, packed='null'}, Library{name='org.apache.logging.log4j:log4j-core:2.0-beta9', rules=null, natives=null, extract=null, packed='null'}, Library{name='org.lwjgl.lwjgl:lwjgl:2.9.1', rules=null, natives=null, extract=null, packed='null'}, Library{name='org.lwjgl.lwjgl:lwjgl_util:2.9.1', rules=null, natives=null, extract=null, packed='null'}, Library{name='org.lwjgl.lwjgl:lwjgl-platform:2.9.1', rules=null, natives={LINUX=natives-linux, OSX=natives-osx, WINDOWS=natives-windows}, extract=net.minecraft.launcher.versions.ExtractRules@177e48e, packed='null'}, Library{name='net.java.jinput:jinput-platform:2.0.5', rules=null, natives={LINUX=natives-linux, OSX=natives-osx, WINDOWS=natives-windows}, extract=net.minecraft.launcher.versions.ExtractRules@1c9e53c, packed='null'}, Library{name='tv.twitch:twitch:5.16', rules=null, natives=null, extract=null, packed='null'}, Library{name='tv.twitch:twitch-platform:5.16', rules=[Rule{action=ALLOW, os=null}, Rule{action=DISALLOW, os=OSRestriction{name=LINUX, version='null'}}], natives={LINUX=natives-linux, OSX=natives-osx, WINDOWS=natives-windows-${arch}}, extract=net.minecraft.launcher.versions.ExtractRules@1262f1, packed='null'}, Library{name='tv.twitch:twitch-external-platform:4.5', rules=[Rule{action=ALLOW, os=OSRestriction{name=WINDOWS, version='null'}}], natives={WINDOWS=natives-windows-${arch}}, extract=net.minecraft.launcher.versions.ExtractRules@c3b76a, packed='null'}]},
remote=PartialVersion{id='ForgeOptiFine 1.7.10', time=Sun Jul 17 13:18:17 MSK 2016, release=Wed May 14 21:29:23 MSK 2014, type=modified, source=extra_version_repo, list=net.minecraft.launcher.updater.ExtraVersionList@17d15d1}, isInstalled=true, hasRemote=true, isUpToDate=true}
[L] Command: C:\Program Files\Java\jre1.8.0_101\bin\javaw.exe
[L] Root directory: C:\Users\Дима\AppData\Roaming\.minecraft\
[L] Game directory: C:\Users\Дима\AppData\Roaming\.minecraft\
[L] Checking conditions...
[L] Comparing assets...
[L] Delta time to compare assets: 4980 ms.
[L] Unpacking natives...
[L] Constructing process...
[L] Constructing classpath...
[L] Half command (characters are not escaped):
C:\Program Files\Java\jre1.8.0_101\bin\javaw.exe -XX:HeapDumpPath=ThisTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -Djava.library.path=C:\Users\Дима\AppData\Roaming\.minecraft\versions\ForgeOptiFine 1.7.10\natives -cp C:\Users\Дима\AppData\Roaming\.minecraft\libraries\optifine\OptiFine\1.7.10_HD_U_D6\OptiFine-1.7.10_HD_U_D6.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\net\minecraftforge\forge\1.7.10-10.13.4.1614-1.7.10\forge-1.7.10-10.13.4.1614-1.7.10.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper\1.12\launchwrapper-1.12.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-all\5.0.3\asm-all-5.0.3.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\com\typesafe\akka\akka-actor_2.11\2.3.3\akka-actor_2.11-2.3.3.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\com\typesafe\config\1.2.1\config-1.2.1.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-actors-migration_2.11\1.1.0\scala-actors-migration_2.11-1.1.0.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-compiler\2.11.1\scala-compiler-2.11.1.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\org\scala-lang\plugins\scala-continuations-library_2.11\1.0.2\scala-continuations-library_2.11-1.0.2.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\org\scala-lang\plugins\scala-continuations-plugin_2.11.1\1.0.2\scala-continuations-plugin_2.11.1-1.0.2.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-library\2.11.1\scala-library-2.11.1.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-parser-combinators_2.11\1.0.1\scala-parser-combinators_2.11-1.0.1.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-reflect\2.11.1\scala-reflect-2.11.1.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-swing_2.11\1.0.1\scala-swing_2.11-1.0.1.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-xml_2.11\1.0.2\scala-xml_2.11-1.0.2.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\lzma\lzma\0.0.1\lzma-0.0.1.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\17.0\guava-17.0.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\com\mojang\netty\1.6\netty-1.6.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\com\mojang\realms\1.3.5\realms-1.3.5.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-compress\1.8.1\commons-compress-1.8.1.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\org\apache\httpcomponents\httpclient\4.3.3\httpclient-4.3.3.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\org\apache\httpcomponents\httpcore\4.3.2\httpcore-4.3.2.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\java3d\vecmath\1.3.1\vecmath-1.3.1.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\net\sf\trove4j\trove4j\3.0.3\trove4j-3.0.3.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\com\ibm\icu\icu4j-core-mojang\51.2\icu4j-core-mojang-51.2.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\io\netty\netty-all\4.0.10.Final\netty-all-4.0.10.Final.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\15.0\guava-15.0.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\commons-codec\commons-codec\1.9\commons-codec-1.9.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\com\mojang\authlib\1.5.21\authlib-1.5.21.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-api\2.0-beta9\log4j-api-2.0-beta9.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-core\2.0-beta9\log4j-core-2.0-beta9.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.1\lwjgl-2.9.1.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.1\lwjgl_util-2.9.1.jar;C:\Users\Дима\AppData\Roaming\.minecraft\libraries\tv\twitch\twitch\5.16\twitch-5.16.jar;C:\Users\Дима\AppData\Roaming\.minecraft\versions\ForgeOptiFine 1.7.10\ForgeOptiFine 1.7.10.jar -Dfml.ignoreInvalidMinecraftCertificates=true -Dfml.ignorePatchDiscrepancies=true -Xms256M -Xmn128M -XX:+UseConcMarkSweepGC -XX:-UseAdaptiveSizePolicy -XX:+CMSParallelRemarkEnabled -XX:+ParallelRefProcEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseCMSInitiatingOccupancyOnly net.minecraft.launchwrapper.Launch
[L] Getting Minecraft arguments...
[L] Launching Minecraft...
[L] Starting ForgeOptiFine 1.7.10
[L] Launching in: C:\Users\Дима\AppData\Roaming\.minecraft
[L] Processing post-launch actions. Assist launch: true
===============================================================================================
[12:56:58] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[12:56:58] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[12:56:58] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[12:56:59] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading
[12:56:59] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_101, running on Windows 7:x86:6.1, installed at C:\Program Files\Java\jre1.8.0_101
[12:56:59] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[12:56:59] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[12:56:59] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[12:56:59] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[12:56:59] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[12:57:03] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[12:57:03] [main/INFO] [FML]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
[12:57:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[12:57:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[12:57:04] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[12:57:04] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[12:57:04] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[12:57:06] [main/INFO]: Setting user: dimchik
[12:57:08] [Client thread/INFO]: LWJGL Version: 2.9.1
[12:57:14] [Client thread/INFO] [FML]: Forge Mod Loader has detected optifine OptiFine_1.7.10_HD_U_D6, enabling compatibility features
[12:57:14] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[12:57:14] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized
[12:57:14] [Client thread/INFO] [FML]: Replaced 183 ore recipies
[12:57:14] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[12:57:14] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[12:57:14] [Client thread/INFO] [FML]: Searching C:\Users\Дима\AppData\Roaming\.minecraft\mods for mods
[12:57:14] [Client thread/INFO] [FML]: Also searching C:\Users\Дима\AppData\Roaming\.minecraft\mods\1.7.10 for mods
[12:57:34] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[12:57:35] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, megamod] at CLIENT
[12:57:35] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, megamod] at SERVER
[12:57:35] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Modex
[12:57:35] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[12:57:35] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
[12:57:35] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[12:57:35] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[12:57:35] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[12:57:35] [Client thread/INFO] [FML]: Applying holder lookups
[12:57:35] [Client thread/INFO] [FML]: Holder lookups applied
[12:57:35] [Client thread/INFO] [FML]: Injecting itemstacks
[12:57:35] [Client thread/INFO] [FML]: Itemstack injection complete
[12:57:35] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
[12:57:35] [Client thread/ERROR] [FML]:
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.1614-1.7.10.jar)
UCH Forge{10.13.4.1614} [Minecraft Forge] (forge-1.7.10-10.13.4.1614-1.7.10.jar)
UCE megamod{0.0.0.0.0.2} [Modex] (modid-1.0.jar)
[12:57:35] [Client thread/ERROR] [FML]: The following problems were captured during this phase
[12:57:35] [Client thread/ERROR] [FML]: Caught exception from megamod
java.lang.NullPointerException: Can't add null-object to the registry, name megamod:microsxem.
at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:363) ~[FMLControlledNamespacedRegistry.class:?]
at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:849) ~[GameData.class:?]
at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:812) ~[GameData.class:?]
at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:149) ~[GameRegistry.class:?]
at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:137) ~[GameRegistry.class:?]
at divanchik.megamod.BaseMegaMode.preLoad(BaseMegaMode.java:28) ~[BaseMegaMode.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_101]
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532) ~[forge-1.7.10-10.13.4.1614-1.7.10.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_101]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[forge-1.7.10-10.13.4.1614-1.7.10.jar:?]
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[forge-1.7.10-10.13.4.1614-1.7.10.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_101]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556) [Loader.class:?]
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480) [bao.class:?]
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878) [bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_101]
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:?]
[12:57:35] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:func_71377_b:349]: ---- Minecraft Crash Report ----
// Don't be sad. I'll do better next time, I promise!

Time: 29.07.16 12:57
Description: Initializing game

java.lang.NullPointerException: Can't add null-object to the registry, name megamod:microsxem.
at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:363)
at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:849)
at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:812)
at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:149)
at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:137)
at divanchik.megamod.BaseMegaMode.preLoad(BaseMegaMode.java:28)
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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
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 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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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(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)


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

-- Head --
Stacktrace:
at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:363)
at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:849)
at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:812)
at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:149)
at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:137)
at divanchik.megamod.BaseMegaMode.preLoad(BaseMegaMode.java:28)
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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
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 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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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(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)

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (x86) version 6.1
Java Version: 1.8.0_101, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 62611816 bytes (59 MB) / 286150656 bytes (272 MB) up to 523501568 bytes (499 MB)
JVM Flags: 10 total; -XX:HeapDumpPath=ThisTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -Xms256M -Xmn128M -XX:+UseConcMarkSweepGC -XX:-UseAdaptiveSizePolicy -XX:+CMSParallelRemarkEnabled -XX:+ParallelRefProcEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseCMSInitiatingOccupancyOnly
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.1614 Optifine OptiFine_1.7.10_HD_U_D6 4 mods loaded, 4 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.1614-1.7.10.jar)
UCH Forge{10.13.4.1614} [Minecraft Forge] (forge-1.7.10-10.13.4.1614-1.7.10.jar)
UCE megamod{0.0.0.0.0.2} [Modex] (modid-1.0.jar)
Launched Version: ForgeOptiFine 1.7.10
LWJGL: 2.9.1
OpenGL: Intel(R) HD Graphics GL version 2.1.0 - Build 8.15.10.2104, Intel
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because EXT_framebuffer_object is supported.
Anisotropic filtering is supported and maximum anisotropy is 2.
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)
[12:57:36] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:func_71377_b:359]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Дима\AppData\Roaming\.minecraft\crash-reports\crash-2016-07-29_12.57.35-client.txt
[L] Minecraft closed with exit code: -1
[L] Launcher stopped.
[L] Found crash report file: C:\Users\Дима\AppData\Roaming\.minecraft\crash-reports\crash-2016-07-29_12.57.35-client.txt
[L] ++++++++++++++++++++++++++++++++++
[L] ++++++++++++++++++++++++++++++++++
[L] Reading file: C:\Users\Дима\AppData\Roaming\.minecraft\crash-reports\crash-2016-07-29_12.57.35-client.txt
+ ---- Minecraft Crash Report ----
+ // On the bright side, I bought you a teddy bear!
+
+ Time: 29.07.16 12:57
+ Description: Initializing game
+
+ java.lang.NullPointerException: Can't add null-object to the registry, name megamod:microsxem.
+ at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:363)
+ at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:849)
+ at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:812)
+ at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:149)
+ at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:137)
+ at divanchik.megamod.BaseMegaMode.preLoad(BaseMegaMode.java:28)
+ 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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
+ 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 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(Unknown Source)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
+ at java.lang.reflect.Method.invoke(Unknown Source)
+ 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(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)
+
+
+ A detailed walkthrough of the error, its code path and all known details is as follows:
+ ---------------------------------------------------------------------------------------
+
+ -- Head --
+ Stacktrace:
+ at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:363)
+ at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:849)
+ at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:812)
+ at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:149)
+ at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:137)
+ at divanchik.megamod.BaseMegaMode.preLoad(BaseMegaMode.java:28)
+ 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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
+ 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 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(Unknown Source)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
+ at java.lang.reflect.Method.invoke(Unknown Source)
+ 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(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)
+
+ -- System Details --
+ Details:
+ Minecraft Version: 1.7.10
+ Operating System: Windows 7 (x86) version 6.1
+ Java Version: 1.8.0_101, Oracle Corporation
+ Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
+ Memory: 62611816 bytes (59 MB) / 286150656 bytes (272 MB) up to 523501568 bytes (499 MB)
+ JVM Flags: 10 total; -XX:HeapDumpPath=ThisTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -Xms256M -Xmn128M -XX:+UseConcMarkSweepGC -XX:-UseAdaptiveSizePolicy -XX:+CMSParallelRemarkEnabled -XX:+ParallelRefProcEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseCMSInitiatingOccupancyOnly
+ 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.1614 Optifine OptiFine_1.7.10_HD_U_D6 4 mods loaded, 4 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.1614-1.7.10.jar)
+ UCH Forge{10.13.4.1614} [Minecraft Forge] (forge-1.7.10-10.13.4.1614-1.7.10.jar)
+ UCE megamod{0.0.0.0.0.2} [Modex] (modid-1.0.jar)
+ Launched Version: ForgeOptiFine 1.7.10
+ LWJGL: 2.9.1
+ OpenGL: Intel(R) HD Graphics GL version 2.1.0 - Build 8.15.10.2104, Intel
+ GL Caps: Using GL 1.3 multitexturing.
+ Using framebuffer objects because EXT_framebuffer_object is supported.
+ Anisotropic filtering is supported and maximum anisotropy is 2.
+ 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)
[L] ++++++++++++++++++++++++++++++++++
[L] Trying to retrieve DxDiag report...
[L] <DXDiag>
[L] ------
[L] System Information
[L] ------
[L] Time of this report: 7/29/2016, 12:56:47
[L] Machine name: ДИМА-ПК
[L] Operating System: Windows 7 Домашняя расширенная 32-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_ldr.160408-2045)
[L] Language: Russian (Regional Setting: Russian)
[L] System Manufacturer: LENOVO
[L] System Model: 20042
[L] BIOS: InsydeH2O Version 29CN29WW(V2.06)
[L] Processor: Intel(R) Pentium(R) CPU        P6000  @ 1.87GHz (2 CPUs), ~1.9GHz
[L] Memory: 2048MB RAM
[L] Available OS Memory: 1910MB RAM
[L] Page File: 1854MB used, 1967MB available
[L] Windows Dir: C:\Windows
[L] DirectX Version: DirectX 11
[L] DX Setup Parameters: Not found
[L] User DPI Setting: Using System DPI
[L] System DPI Setting: 96 DPI (100 percent)
[L] DWM DPI Scaling: Disabled
[L] DxDiag Version: 6.01.7601.17514 32bit Unicode
[L]
[L] ------
[L] Display Devices
[L] ------
[L] Card name: Intel(R) HD Graphics
[L] Manufacturer: Intel Corporation
[L] Chip type: Intel(R) HD Graphics (Pentium)
[L] DAC type: Internal
[L] Device Key: Enum\PCI\VEN_8086&DEV_0046&SUBSYS_392017AA&REV_02
[L] Display Memory: 763 MB
[L] Dedicated Memory: 64 MB
[L] Shared Memory: 699 MB
[L] Current Mode: 1366 x 768 (32 bit) (60Hz)
[L] Monitor Name: Универсальный монитор PnP
[L] Monitor Model: unknown
[L] Monitor Id: LEN40B0
[L] Native Mode: 1366 x 768(p) (59.998Hz)
[L] Output Type: Internal
[L] Driver Name: igdumdx32.dll,igd10umd32.dll
[L] Driver File Version: 8.15.0010.2104 (English)
[L] Driver Version: 8.15.10.2104
[L] DDI Version: 10
[L] Driver Model: WDDM 1.1
[L] Driver Attributes: Final Retail
[L] Driver Date/Size: 12/14/2010 11:08:44, 571904 bytes
[L] WHQL Logo'd: n/a
[L] WHQL Date Stamp: n/a
[L] Device Identifier: {D7B78E66-4306-11CF-227C-2A19A2C2C535}
[L] Vendor ID: 0x8086
[L] Device ID: 0x0046
[L] SubSys ID: 0x392017AA
[L] Revision ID: 0x0002
[L] Driver Strong Name: oem4.inf:Intel.Mfg:iILKM0:8.15.10.2104:pci\ven_8086&dev_0046&subsys_392017aa
[L] Rank Of Driver: 00E60001
[L] Video Accel: ModeMPEG2_A ModeMPEG2_C ModeWMV9_B ModeWMV9_C ModeVC1_B ModeVC1_C
[L] Deinterlace Caps: {BF752EF6-8CC4-457A-BE1B-08BD1CAEEE9F}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_EdgeFiltering
[L] {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_BOBVerticalStretch
[L] {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend
[L] {BF752EF6-8CC4-457A-BE1B-08BD1CAEEE9F}: Format(In/Out)=(UYVY,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_EdgeFiltering
[L] {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(UYVY,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_BOBVerticalStretch
[L] {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(UYVY,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend
[L] {BF752EF6-8CC4-457A-BE1B-08BD1CAEEE9F}: Format(In/Out)=(YV12,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_EdgeFiltering
[L] {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YV12,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_BOBVerticalStretch
[L] {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(YV12,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend
[L] {BF752EF6-8CC4-457A-BE1B-08BD1CAEEE9F}: Format(In/Out)=(NV12,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_EdgeFiltering
[L] {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(NV12,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_BOBVerticalStretch
[L] {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(NV12,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend
[L] {BF752EF6-8CC4-457A-BE1B-08BD1CAEEE9F}: Format(In/Out)=(IMC1,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_EdgeFiltering
[L] {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC1,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_BOBVerticalStretch
[L] {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC1,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend
[L] {BF752EF6-8CC4-457A-BE1B-08BD1CAEEE9F}: Format(In/Out)=(IMC2,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_EdgeFiltering
[L] {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_BOBVerticalStretch
[L] {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend
[L] {BF752EF6-8CC4-457A-BE1B-08BD1CAEEE9F}: Format(In/Out)=(IMC3,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_EdgeFiltering
[L] {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC3,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_BOBVerticalStretch
[L] {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC3,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend
[L] {BF752EF6-8CC4-457A-BE1B-08BD1CAEEE9F}: Format(In/Out)=(IMC4,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_EdgeFiltering
[L] {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC4,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_BOBVerticalStretch
[L] {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC4,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend
[L] D3D9 Overlay: Supported
[L] DXVA-HD: Supported
[L] DDraw Status: Enabled
[L] D3D Status: Enabled
[L] AGP Status: Enabled
[L]
[L] ------
[L] Sound Devices
[L] ------
[L] Description: Динамики (Устройство с поддержкой High Definition Audio)
[L] Default Sound Playback: Yes
[L] Default Voice Playback: Yes
[L] Hardware ID: HDAUDIO\FUNC_01&VEN_14F1&DEV_5069&SUBSYS_17AAC00B&REV_1003
[L] Manufacturer ID: 1
[L] Product ID: 65535
[L] Type: WDM
[L] Driver Name: HdAudio.sys
[L] Driver Version: 6.01.7601.17514 (Russian)
[L] Driver Attributes: Final Retail
[L] WHQL Logo'd: n/a
[L] Date and Size: 11/21/2010 00:29:03, 304128 bytes
[L] Other Files:
[L] Driver Provider: Microsoft
[L] HW Accel Level: Basic
[L] Cap Flags: 0x0
[L] Min/Max Sample Rate: 0, 0
[L] Static/Strm HW Mix Bufs: 0, 0
[L] Static/Strm HW 3D Bufs: 0, 0
[L] HW Memory: 0
[L] Voice Management: No
[L] EAX(tm) 2.0 Listen/Src: No, No
[L] I3DL2(tm) Listen/Src: No, No
[L] Sensaura(tm) ZoomFX(tm): No
[L]
[L] </DXDiag>
 
33
1
0
wilah написал(а):
Краш и так полный, ты регистрируешь нулл, а не предмет

1.Что это значит ??? Я хотел чтобы типа микросхему скрафтить потом из них блок ядро (с ним все нормально)
пока что она мне больше не для чего не нужна .2 я не знаю как ее регать как еду или что????Item же вроде для регистрации нового предмета используется или нет???
 
33
1
0
Onneros написал(а):
Если не знаешь что это значит, то думаю тебе стоит сначала изучить джаву и только потом сесть и начать писать мод..

Что такое нулл я знаю в java я думал в mc билиотеках он значит что-то другое


wilah написал(а):
Прости, но нубам я помогать не собираюсь. Я тебе на ошибку указал, могу даже кинуть строку с ошибкой.
GameRegistry.registerItem(Microsxem,"microsxem");

Я подозревал что это изза не точной регистрации но это было лишь догадкой теперь знаю где копать спасибо
 
33
1
0
Ну раз уж создал тему у меня еще теперь вопрос :
Куда здесь мне сувать this.setCreativeTab(BaseMegaMode.tabTutorial); чтобы и микросхема была в моей вкладке (с блоком я разобрался а с ней нет) вот код микросхемы :


package divanchik.megamod;

import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.item.Item;

public class Microsxem extends Item {
public Microsxem(int i)
{

}
public void registerIcons(IIconRegister par1IconRegister)
{
this.itemIcon = par1IconRegister.registerIcon("megamod:Microsxem");
}

}


Я и в конструктор сувал и в register items (тупость но все же) подскажите плз
 
33
1
0
timaxa007 написал(а):
В конструктор.

Ничего не произошло (((  мой блок есть а микросхемы нет

Вот клас микросхемы :
Код:
package divanchik.megamod;

import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.item.Item;

public class Microsxem extends Item {
	public Microsxem(int i)
	{
		this.setCreativeTab(BaseMegaMode.tabTutorial);
    
}
public void registerIcons(IIconRegister par1IconRegister)
{
this.itemIcon = par1IconRegister.registerIcon("megamod:Microsxem");
}

}
А вот класс блока :

Код:
package divanchik.megamod;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;

public class BlockBestBlockEver extends Block {

	protected BlockBestBlockEver() {
		super(Material.rock);
		this.setBlockName("systemcore");
		this.setHardness(15F);
		this.setResistance(10F);
		this.setHarvestLevel("pickaxe", 0);
		this.setLightLevel(10F);
		this.setBlockTextureName("megamod:systemcore");
		this.setCreativeTab(BaseMegaMode.tabTutorial);
	}



	}
Может я чтото не так делаю или глюк какойто
 
917
22
332
divanchik написал(а):
timaxa007 написал(а):
В конструктор.

Ничего не произошло (((  мой блок есть а микросхемы нет

Вот клас микросхемы :
Код:
package divanchik.megamod;

import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.item.Item;

public class Microsxem extends Item {
	public Microsxem(int i)
	{
		this.setCreativeTab(BaseMegaMode.tabTutorial);
    
}
public void registerIcons(IIconRegister par1IconRegister)
{
this.itemIcon = par1IconRegister.registerIcon("megamod:Microsxem");
}

}
А вот класс блока :

Код:
package divanchik.megamod;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;

public class BlockBestBlockEver extends Block {

	protected BlockBestBlockEver() {
		super(Material.rock);
		this.setBlockName("systemcore");
		this.setHardness(15F);
		this.setResistance(10F);
		this.setHarvestLevel("pickaxe", 0);
		this.setLightLevel(10F);
		this.setBlockTextureName("megamod:systemcore");
		this.setCreativeTab(BaseMegaMode.tabTutorial);
	}



	}
Может я чтото не так делаю или глюк какойто

Ну конечно же нету) откуда главный класс знает где у тебя находится твой класс с предметом. Сделай по аналогии с твоим блоком: 
[font=Monaco, Consolas, Courier, monospace]public[/font][font=Monaco, Consolas, Courier, monospace] [/font][font=Monaco, Consolas, Courier, monospace]static[/font][font=Monaco, Consolas, Courier, monospace] Block systemcore;[/font]

[font=Monaco, Consolas, Courier, monospace][size=small][font=Monaco, Consolas, Courier, monospace]systemcore = [/font][font=Monaco, Consolas, Courier, monospace]new[/font][font=Monaco, Consolas, Courier, monospace] BlockBestBlockEver(); - эта строка пишет где твой класс блока.[/font][/font][/size]

[font=Monaco, Consolas, Courier, monospace][size=small][font=Monaco, Consolas, Courier, monospace][size=small][font=Monaco, Consolas, Courier, monospace]GameRegistry.registerBlock(systemcore, [/font][font=Monaco, Consolas, Courier, monospace]"systemcore"[/font][font=Monaco, Consolas, Courier, monospace]); - твой блок, также вместе с предметом поступи.[/font][/font][/size][/font][/size]
[font=Monaco, Consolas, Courier, monospace][size=small][font=Monaco, Consolas, Courier, monospace][size=small][font=Monaco, Consolas, Courier, monospace]А вообще, парень, учи джаву)[/font][/font][/size][/font][/size]
 

timaxa007

Модератор
5,831
409
672
divanchik, и ты уверен, что ты используешь тот конструктор для объекта твоего предмета?
Ты можешь использовать для объекта предмета конструктор без аргумента, а ты-же написал setCreativeTab для конструктора с аргументом.
 
33
1
0
timaxa007 написал(а):
Тогда попробуй поставить переменную вкладки выше всех переменных блоков и предметов в главном классе.

Попробал и в самый верх и всамый низ всеравно блок есть а микросхемы нет
 
98
1
0
timaxa007 написал(а):
divanchik, и ты уверен, что ты используешь тот конструктор для объекта твоего предмета?
Ты можешь использовать для объекта предмета конструктор без аргумента, а ты-же написал setCreativeTab для конструктора с аргументом.
Тимаха, ты думаешь он знает что такое Аргумент? 
Что-то я сомневаюсь.
 
Код:
public static Block systemcore; //Это блок, но он пока NULL
public static CreativeTabs tabTutorial = new TabTutorial("Tab");
public static Item Microsxem; //Это предмет, но он пока NULL
@EventHandler
public void preLoad(FMLPreInitializationEvent event)
{
systemcore = new BlockBestBlockEver(); //Тут ты указываешь блок, и переменная перестаёт быть NULL

GameRegistry.registerBlock(systemcore, "systemcore"); //Тут ты регистрируешь указанный блок

GameRegistry.registerItem(Microsxem,"microsxem"); //А тут ты регистрируешь NULL

GameRegistry.addRecipe(new ItemStack(BaseMegaMode.systemcore, 1),
                new Object[]{ "###", "#X#", "###",
              ('X'), Items.lava_bucket,  ('#'), BaseMegaMode.Microsxem}); //И добавляешь ещё рецепт с несуществующим ингредиентом

GameRegistry.addRecipe(new ItemStack(BaseMegaMode.Microsxem, 1),
                new Object[]{ "X#X", "###", "X#X",
                ('X'), Blocks.wool, ('#'), Items.iron_ingot,});
}

Не сложно догадаться, что после регистрации блока, следует добавить строку
Код:
microsxem = new Microsxem();
Чтобы зарегистрировать предмет, но перед этим измени
Код:
public static Item Microsxem;
На
Код:
public static Item microsxem;
Так как имя переменной лучше начинать с маленькой буквы
И вообще, блоки надо регистрировать (лучше), собрав переменные с ними в один отдельный класс с методом для их регистрирования. Но это уже совсем другая история...
 
33
1
0
FedorAronov написал(а):
Код:
public static Block systemcore; //Это блок, но он пока NULL
public static CreativeTabs tabTutorial = new TabTutorial("Tab");
public static Item Microsxem; //Это предмет, но он пока NULL
@EventHandler
public void preLoad(FMLPreInitializationEvent event)
{
systemcore = new BlockBestBlockEver(); //Тут ты указываешь блок, и переменная перестаёт быть NULL

GameRegistry.registerBlock(systemcore, "systemcore"); //Тут ты регистрируешь указанный блок

GameRegistry.registerItem(Microsxem,"microsxem"); //А тут ты регистрируешь NULL

GameRegistry.addRecipe(new ItemStack(BaseMegaMode.systemcore, 1),
                new Object[]{ "###", "#X#", "###",
              ('X'), Items.lava_bucket,  ('#'), BaseMegaMode.Microsxem}); //И добавляешь ещё рецепт с несуществующим ингредиентом

GameRegistry.addRecipe(new ItemStack(BaseMegaMode.Microsxem, 1),
                new Object[]{ "X#X", "###", "X#X",
                ('X'), Blocks.wool, ('#'), Items.iron_ingot,});
}

Не сложно догадаться, что после регистрации блока, следует добавить строку
Код:
microsxem = new Microsxem();
Чтобы зарегистрировать предмет, но перед этим измени
Код:
public static Item Microsxem;
На
Код:
public static Item microsxem;
Так как имя переменной лучше начинать с маленькой буквы
И вообще, блоки надо регистрировать (лучше), собрав переменные с ними в один отдельный класс с методом для их регистрирования. Но это уже совсем другая история...

Спасибо но я уже разобрался и пометил вопрос решенным


У меня есть другой вопрос чем можно создавать текстуры предмета чтобы не было черно-фиолетовых квадратиков????
 
Сверху