beni2800 Posted March 29, 2015 Share Posted March 29, 2015 (edited) Hey Leute, ich möchte eine kleine Mod programmieren, bei der es am Anfang nur 1-2 Items und ein Block gibt. Bin leider aber ein totaler Anfänger :/, haha. Habe mich ein bisschen durchs Internet gekämpft und ein bisschen gekotet. Naja, irgendwie funktioniert das nicht so richtig wie ich es dachte... 1. Das Item hat keine Textur. 2. Den Block gibt es nicht. 3. Wenn ich versuche mein programmierten CreativeTab zu öffnen crasht mein Minecraft, super. Vielleicht könnt ihr mir helfen? Nicht schlagen! Bin Anfänger Auf Wunsch kann ich noch 3 json's Datein posten, die angefertigt habe. Hier ist mein Kot: MAIN package de.beni280.Eistee; import de.beni280.Eistee.block.EisteeBlock; import de.beni280.Eistee.item.EisteeItem; import net.minecraft.block.Block; import net.minecraft.client.Minecraft; import net.minecraft.client.resources.model.ModelResourceLocation; 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; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import net.minecraftforge.fml.common.registry.GameRegistry; @Mod(modid = emain.MODID, version = emain.VERSION) public class emain { public static final String MODID = "Eistee"; public static final String VERSION = "1.0"; public static CreativeTabs tabEistee; public static Item EisteeItem; public static Block EisteeBlock; // Tab @EventHandler public void preinit(FMLPreInitializationEvent event) { tabEistee = new CreativeTabs("tabEistee") { @Override public Item getTabIconItem() { return Item.getItemFromBlock(emain.EisteeBlock); } }; EisteeBlock = new EisteeBlock().setUnlocalizedName("EisteeBlock").setCreativeTab(tabEistee); EisteeItem = new EisteeItem().setUnlocalizedName("EisteeItem").setCreativeTab(tabEistee); } @EventHandler public void init(FMLInitializationEvent event) { registerItems(); crafting (); } @EventHandler public void postinit(FMLPostInitializationEvent event) { } // Crafting Rezepte private void crafting(){ GameRegistry.addRecipe(new ItemStack(emain.EisteeItem, 1), new Object[]{ "ggg", "gbg", "ggg", Character.valueOf('g'), Items.cake, Character.valueOf('b'), Items.potato }); GameRegistry.addShapelessRecipe(new ItemStack(emain.EisteeBlock,15), new ItemStack(Blocks.gold_block,3), new ItemStack(Blocks.iron_block,5), new ItemStack(Blocks.diamond_block,1)); } //RegisterItem private void registerItems() { GameRegistry.registerItem(EisteeItem, "EisteeItem"); Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(EisteeItem, 0, new ModelResourceLocation(MODID + ":EisteeItem", "inventory")); } //RegisterBlock private void registerBlock(){ GameRegistry.registerBlock(EisteeBlock, "EisteeBlock"); Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(EisteeBlock),0, new ModelResourceLocation(MODID + ":EisteeBlock","inventory")); } } package de.beni280.Eistee.block; import net.minecraft.block.Block; import net.minecraft.block.material.Material; public class EisteeBlock extends Block { public EisteeBlock() { super(Material.rock); this.setStepSound(soundTypeMetal); this.setLightLevel(0); this.setHardness(2.0F); this.setHarvestLevel("pickaxe", 2); } } package de.beni280.Eistee.item; import net.minecraft.item.Item; public class EisteeItem extends Item { public EisteeItem(){ super(); } } Edited March 29, 2015 by beni2800 Link to comment Share on other sites More sharing options...
derlegomangamer Posted March 30, 2015 Share Posted March 30, 2015 (edited) @EventHandler public void init(FMLInitializationEvent event) { registerItems(); crafting (); registerBlock(); } das sollte das blockproblem beheben PS. Bist du dir sicher das du denn Ordner mit den .JSON Dateien im src/main/resources/assets/Eistee/models/item liegen hast und alles richtig geschrieben hast? Schreib mal denn Crashreport Edited March 30, 2015 by derlegomangamer Link to comment Share on other sites More sharing options...
beni2800 Posted March 30, 2015 Author Share Posted March 30, 2015 @EventHandler public void init(FMLInitializationEvent event) { registerItems(); crafting (); registerBlock(); } das sollte das blockproblem beheben PS. Bist du dir sicher das du denn Ordner mit den .JSON Dateien im src/main/resources/assets/Eistee/models/item liegen hast und alles richtig geschrieben hast? Schreib mal denn Crashreport Vielen Dank für die Antwort, das hab' ich komplett übersehen, danke *facepalm*. Die zwei JSON Datein(EisteeBlock, EisteeItem) liegen in dem Ordner. Außerdem habe ich eine zwei weiter JSON Dateien in\src\main\resources\assets\Eistee\blockstates. und\src\main\resources\assets\Eistee\models\block Der Report aus eclipse: [19:40:51] [main/INFO] [GradleStart]: Extra: [][19:40:52] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Tim/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken, {REDACTED}, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartCoremodTweaker][19:40:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker[19:40:52] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker[19:40:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartCoremodTweaker[19:40:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker[19:40:52] [main/INFO] [FML]: Forge Mod Loader version 8.0.50.1344 for Minecraft 1.8 loading[19:40:52] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 8:amd64:6.2, installed at C:\Program Files\Java\jre1.8.0_25[19:40:52] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation[19:40:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.GradleStartCommon$GradleStartCoremodTweaker[19:40:52] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin[19:40:52] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin[19:40:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker[19:40:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker[19:40:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartAccessTweaker[19:40:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker[19:40:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker[19:40:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper[19:40:52] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work![19:40:57] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing[19:40:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper[19:40:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker[19:40:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.GradleStartCommon$GradleStartAccessTweaker[19:40:58] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker[19:40:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker[19:40:58] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}[19:40:59] [Client thread/INFO]: Setting user: Player937[19:41:03] [Client thread/INFO]: LWJGL Version: 2.9.1[19:41:04] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization[19:41:04] [Client thread/INFO] [FML]: MinecraftForge v11.14.1.1344 Initialized[19:41:04] [Client thread/INFO] [FML]: Replaced 204 ore recipies[19:41:04] [Client thread/INFO] [FML]: Preloading CrashReport classes[19:41:04] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization[19:41:05] [Client thread/INFO] [FML]: Searching C:\Users\Tim\Desktop\Minecraft Mod\eclipse\mods for mods[19:41:07] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load[19:41:07] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, Eistee] at CLIENT[19:41:07] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, Eistee] at SERVER[19:41:08] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Eistee[19:41:08] [Client thread/WARN]: ResourcePack: ignored non-lowercase namespace: %s in %s[19:41:08] [Client thread/INFO] [FML]: Processing ObjectHolder annotations[19:41:08] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations[19:41:08] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0[19:41:08] [Client thread/INFO] [FML]: Applying holder lookups[19:41:08] [Client thread/INFO] [FML]: Holder lookups applied[19:41:11] [Sound Library Loader/INFO]: Starting up SoundSystem...[19:41:11] [Thread-7/INFO]: Initializing LWJGL OpenAL[19:41:11] [Thread-7/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)[19:41:12] [Thread-7/INFO]: OpenAL initialized.[19:41:12] [Sound Library Loader/INFO]: Sound engine started[19:41:21] [Client thread/INFO]: Created: 512x512 textures-atlas[19:41:22] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods[19:41:22] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Eistee[19:41:22] [Client thread/WARN]: ResourcePack: ignored non-lowercase namespace: %s in %s[19:41:22] [Client thread/INFO]: SoundSystem shutting down...[19:41:22] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com[19:41:22] [Sound Library Loader/INFO]: Starting up SoundSystem...[19:41:22] [Thread-9/INFO]: Initializing LWJGL OpenAL[19:41:22] [Thread-9/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)[19:41:22] [Thread-9/INFO]: OpenAL initialized.[19:41:23] [Sound Library Loader/INFO]: Sound engine started[19:41:27] [Client thread/INFO]: Created: 512x512 textures-atlas[19:41:27] [Client thread/ERROR] [FML]: Model definition for location eistee:EisteeItem#inventory not found[19:41:27] [Client thread/ERROR] [FML]: Model definition for location eistee:EisteeBlock#inventory not found[19:41:27] [Client thread/ERROR] [FML]: Model definition for location eistee:EisteeBlock#normal not found[19:41:43] [Server thread/INFO]: Starting integrated minecraft server version 1.8[19:41:43] [Server thread/INFO]: Generating keypair[19:41:44] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance[19:41:44] [Server thread/INFO] [FML]: Injecting new block and item data into this server instance.[19:41:44] [Server thread/INFO] [FML]: Injected new block/item eistee:EisteeBlock: 198 (init) -> 198 (map).[19:41:44] [Server thread/INFO] [FML]: Injected new block/item eistee:EisteeBlock: 198 (init) -> 198 (map).[19:41:44] [Server thread/INFO] [FML]: Applying holder lookups[19:41:44] [Server thread/INFO] [FML]: Holder lookups applied[19:41:44] [Server thread/INFO] [FML]: Loading dimension 0 (New World--) (net.minecraft.server.integrated.IntegratedServer@4aaf8acb)[19:41:44] [Server thread/ERROR]: Encountered an unexpected exceptionnet.minecraft.util.ReportedException: Exception preparing structure featureat net.minecraft.world.WorldServer.initialize(WorldServer.java:851) ~[WorldServer.class:?]at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:92) ~[IntegratedServer.class:?]at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:130) ~[IntegratedServer.class:?]at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:500) [MinecraftServer.class:?]at java.lang.Thread.run(Unknown Source) [?:1.8.0_25]Caused by: java.lang.ExceptionInInitializerErrorat net.minecraft.world.gen.structure.StructureVillagePieces.getStructureVillageWeightedPieceList(StructureVillagePieces.java:67) ~[StructureVillagePieces.class:?]at net.minecraft.world.gen.structure.MapGenVillage$Start.<init>(MapGenVillage.java:107) ~[MapGenVillage$Start.class:?]at net.minecraft.world.gen.structure.MapGenVillage.getStructureStart(MapGenVillage.java:93) ~[MapGenVillage.class:?]at net.minecraft.world.gen.structure.MapGenStructure.func_180701_a(MapGenStructure.java:45) ~[MapGenStructure.class:?]at net.minecraft.world.gen.MapGenBase.func_175792_a(MapGenBase.java:33) ~[MapGenBase.class:?]at net.minecraft.world.gen.ChunkProviderFlat.provideChunk(ChunkProviderFlat.java:147) ~[ChunkProviderFlat.class:?]at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:178) ~[ChunkProviderServer.class:?]at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:138) ~[ChunkProviderServer.class:?]at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:108) ~[ChunkProviderServer.class:?]at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:209) ~[ChunkProviderServer.class:?]at net.minecraft.world.World.getChunkFromChunkCoords(World.java:360) ~[World.class:?]at net.minecraft.world.World.getChunkFromBlockCoords(World.java:349) ~[World.class:?]at net.minecraft.world.World.getBlockState(World.java:901) ~[World.class:?]at net.minecraft.world.World.isAirBlock(World.java:271) ~[World.class:?]at net.minecraft.world.World.getGroundAboveSeaLevel(World.java:247) ~[World.class:?]at net.minecraft.world.WorldProvider.canCoordinateBeSpawn(WorldProvider.java:87) ~[WorldProvider.class:?]at net.minecraft.world.WorldServer.createSpawnPosition(WorldServer.java:910) ~[WorldServer.class:?]at net.minecraft.world.WorldServer.initialize(WorldServer.java:829) ~[WorldServer.class:?]... 4 moreCaused by: java.lang.NullPointerExceptionat net.minecraftforge.fml.common.registry.VillagerRegistry$VillagerProfession.<init>(VillagerRegistry.java:263) ~[VillagerRegistry$VillagerProfession.class:?]at net.minecraftforge.fml.common.registry.VillagerRegistry.init(VillagerRegistry.java:225) ~[VillagerRegistry.class:?]at net.minecraftforge.fml.common.registry.VillagerRegistry.<init>(VillagerRegistry.java:75) ~[VillagerRegistry.class:?]at net.minecraftforge.fml.common.registry.VillagerRegistry.<clinit>(VillagerRegistry.java:66) ~[VillagerRegistry.class:?]at net.minecraft.world.gen.structure.StructureVillagePieces.getStructureVillageWeightedPieceList(StructureVillagePieces.java:67) ~[StructureVillagePieces.class:?]at net.minecraft.world.gen.structure.MapGenVillage$Start.<init>(MapGenVillage.java:107) ~[MapGenVillage$Start.class:?]at net.minecraft.world.gen.structure.MapGenVillage.getStructureStart(MapGenVillage.java:93) ~[MapGenVillage.class:?]at net.minecraft.world.gen.structure.MapGenStructure.func_180701_a(MapGenStructure.java:45) ~[MapGenStructure.class:?]at net.minecraft.world.gen.MapGenBase.func_175792_a(MapGenBase.java:33) ~[MapGenBase.class:?]at net.minecraft.world.gen.ChunkProviderFlat.provideChunk(ChunkProviderFlat.java:147) ~[ChunkProviderFlat.class:?]at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:178) ~[ChunkProviderServer.class:?]at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:138) ~[ChunkProviderServer.class:?]at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:108) ~[ChunkProviderServer.class:?]at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:209) ~[ChunkProviderServer.class:?]at net.minecraft.world.World.getChunkFromChunkCoords(World.java:360) ~[World.class:?]at net.minecraft.world.World.getChunkFromBlockCoords(World.java:349) ~[World.class:?]at net.minecraft.world.World.getBlockState(World.java:901) ~[World.class:?]at net.minecraft.world.World.isAirBlock(World.java:271) ~[World.class:?]at net.minecraft.world.World.getGroundAboveSeaLevel(World.java:247) ~[World.class:?]at net.minecraft.world.WorldProvider.canCoordinateBeSpawn(WorldProvider.java:87) ~[WorldProvider.class:?]at net.minecraft.world.WorldServer.createSpawnPosition(WorldServer.java:910) ~[WorldServer.class:?]at net.minecraft.world.WorldServer.initialize(WorldServer.java:829) ~[WorldServer.class:?]... 4 more[19:41:44] [Server thread/ERROR]: This crash report has been saved to: C:\Users\Tim\Desktop\Minecraft Mod\eclipse\.\crash-reports\crash-2015-03-30_19.41.44-server.txt[19:41:44] [Server thread/INFO] [FML]: Applying holder lookups[19:41:44] [Server thread/INFO] [FML]: Holder lookups applied[19:41:44] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded.[19:41:45] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:660]: ---- Minecraft Crash Report ----// Quite honestly, I wouldn't worry myself about that.Time: 30/03/15 19:41Description: Exception preparing structure featurejava.lang.ExceptionInInitializerErrorat net.minecraft.world.gen.structure.StructureVillagePieces.getStructureVillageWeightedPieceList(StructureVillagePieces.java:67)at net.minecraft.world.gen.structure.MapGenVillage$Start.<init>(MapGenVillage.java:107)at net.minecraft.world.gen.structure.MapGenVillage.getStructureStart(MapGenVillage.java:93)at net.minecraft.world.gen.structure.MapGenStructure.func_180701_a(MapGenStructure.java:45)at net.minecraft.world.gen.MapGenBase.func_175792_a(MapGenBase.java:33)at net.minecraft.world.gen.ChunkProviderFlat.provideChunk(ChunkProviderFlat.java:147)at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:178)at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:138)at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:108)at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:209)at net.minecraft.world.World.getChunkFromChunkCoords(World.java:360)at net.minecraft.world.World.getChunkFromBlockCoords(World.java:349)at net.minecraft.world.World.getBlockState(World.java:901)at net.minecraft.world.World.isAirBlock(World.java:271)at net.minecraft.world.World.getGroundAboveSeaLevel(World.java:247)at net.minecraft.world.WorldProvider.canCoordinateBeSpawn(WorldProvider.java:87)at net.minecraft.world.WorldServer.createSpawnPosition(WorldServer.java:910)at net.minecraft.world.WorldServer.initialize(WorldServer.java:829)at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:92)at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:130)at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:500)at java.lang.Thread.run(Unknown Source)Caused by: java.lang.NullPointerExceptionat net.minecraftforge.fml.common.registry.VillagerRegistry$VillagerProfession.<init>(VillagerRegistry.java:263)at net.minecraftforge.fml.common.registry.VillagerRegistry.init(VillagerRegistry.java:225)at net.minecraftforge.fml.common.registry.VillagerRegistry.<init>(VillagerRegistry.java:75)at net.minecraftforge.fml.common.registry.VillagerRegistry.<clinit>(VillagerRegistry.java:66)... 22 moreA detailed walkthrough of the error, its code path and all known details is as follows:----------------------------------------------------------------------------------------- Head --Stacktrace:at net.minecraft.world.gen.structure.StructureVillagePieces.getStructureVillageWeightedPieceList(StructureVillagePieces.java:67)at net.minecraft.world.gen.structure.MapGenVillage$Start.<init>(MapGenVillage.java:107)at net.minecraft.world.gen.structure.MapGenVillage.getStructureStart(MapGenVillage.java:93)-- Feature being prepared --Details:Is feature chunk: TrueChunk location: 2,-15Chunk pos hash: -64424509438Structure type: net.minecraft.world.gen.structure.MapGenVillageStacktrace:at net.minecraft.world.gen.structure.MapGenStructure.func_180701_a(MapGenStructure.java:45)at net.minecraft.world.gen.MapGenBase.func_175792_a(MapGenBase.java:33)at net.minecraft.world.gen.ChunkProviderFlat.provideChunk(ChunkProviderFlat.java:147)-- Chunk to be generated --Details:Location: 4,-8Position hash: -34359738364Generator: FlatLevelSourceStacktrace:at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:178)at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:138)at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:108)at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:209)at net.minecraft.world.World.getChunkFromChunkCoords(World.java:360)at net.minecraft.world.World.getChunkFromBlockCoords(World.java:349)at net.minecraft.world.World.getBlockState(World.java:901)at net.minecraft.world.World.isAirBlock(World.java:271)at net.minecraft.world.World.getGroundAboveSeaLevel(World.java:247)at net.minecraft.world.WorldProvider.canCoordinateBeSpawn(WorldProvider.java:87)at net.minecraft.world.WorldServer.createSpawnPosition(WorldServer.java:910)-- Affected level --Details:Level name: New World--All players: 0 total; []Chunk stats: ServerChunkCache: 2 Drop: 0Level seed: -8903282396076122920Level generator: ID 01 - flat, ver 0. Features enabled: trueLevel generator options:Level spawn location: 0.00,0.00,0.00 - World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)Level time: 0 game time, 0 day timeLevel dimension: 0Level storage version: 0x04ABD - AnvilLevel weather: Rain time: 0 (now: false), thunder time: 0 (now: false)Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: trueStacktrace:at net.minecraft.world.WorldServer.initialize(WorldServer.java:829)at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:92)at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:130)at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:500)at java.lang.Thread.run(Unknown Source)-- System Details --Details:Minecraft Version: 1.8Operating System: Windows 8 (amd64) version 6.2Java Version: 1.8.0_25, Oracle CorporationJava VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle CorporationMemory: 870950736 bytes (830 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024MIntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0FML: MCP v9.10 FML v8.0.50.1344 Minecraft Forge 11.14.1.1344 4 mods loaded, 4 mods activemcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->AvailableFML{8.0.50.1344} [Forge Mod Loader] (forgeSrc-1.8-11.14.1.1344.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->AvailableForge{11.14.1.1344} [Minecraft Forge] (forgeSrc-1.8-11.14.1.1344.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->AvailableEistee{1.0} [Eistee] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->AvailableLoaded coremods (and transformers):Profiler Position: N/A (disabled)Player Count: 0 / 8; []Type: Integrated Server (map_client.txt)Is Modded: Definitely; Client brand changed to 'fml,forge'[19:41:45] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:660]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2015-03-30_19.41.44-server.txtAL lib: (EE) alc_cleanup: 1 device not closedJava HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release Und hier noch die JSON Dateien. blockstates { "variants": { "normal": { "model": "Eistee:EisteeBlock" } }} models/block { "parent": "block/cube_all", "textures": { "all": "Eistee:blocks/EisteeBlock" }} models/item EisteeBlock { "parent": "Eistee:block/EisteeBlock", "display": { "thirdperson": { "rotation": [ 10, -45, 170 ], "translation": [ 0, 1.5, -2.75 ], "scale": [ 0.375, 0.375, 0.375 ] } }} models/item EisteeItem { "parent": "builtin/generated", "textures": { "layer0": "Eistee:items/EisteeItem" }, "display": { "thirdperson": { "rotation": [ -90, 0, 0 ], "translation": [ 0, 1, -3 ], "scale": [ 0.55, 0.55, 0.55 ] }, "firstperson": { "rotation": [ 0, -135, 25 ], "translation": [ 0, 4, 2 ], "scale": [ 1.7, 1.7, 1.7 ] } }} Link to comment Share on other sites More sharing options...
derlegomangamer Posted March 30, 2015 Share Posted March 30, 2015 (edited) Heißen die JSON Dateien EisteeItem und EisteeBlock? Startest du client oder server? Hast du was an der Strukturengeneration geändert oder so was? Edited March 30, 2015 by derlegomangamer Link to comment Share on other sites More sharing options...
beni2800 Posted March 30, 2015 Author Share Posted March 30, 2015 Heißen die JSON Dateien EisteeItem und EisteeBlock? Startest du client oder server? Hast du was an der Strukturengeneration geändert oder so was? Ja sie heißen so, an der Strukturengeneration habe ich soweit ich weiß nichts geändert...? Ob ich Client oder Server starte, weiß ich nicht...Wie gesagt, Neuling. Link to comment Share on other sites More sharing options...
derlegomangamer Posted March 30, 2015 Share Posted March 30, 2015 In eclipse ist neben dem RUN-Button ein Pfeil nach unten dort öffnet sich ein Menü in dem du Client auswählen kannst. Link to comment Share on other sites More sharing options...
beni2800 Posted March 30, 2015 Author Share Posted March 30, 2015 In eclipse ist neben dem RUN-Button ein Pfeil nach unten dort öffnet sich ein Menü in dem du Client auswählen kannst. Als Client, ich habe die Mod auch einmal über den normalen Minecraft Launcher "gestartet", dort konnte ich wenigstens in einer Welt. Aber als ich versuchte auf mein CreativeTab zuzugreifen, crashte Minecraft. Link to comment Share on other sites More sharing options...
derlegomangamer Posted March 30, 2015 Share Posted March 30, 2015 (edited) In deinem minecraft ordner ist ein datei namens hs_er_pid_irgendeinezahl das ist die Fehlermeldung, kannst du deren inhalt mal hier schicken? vlt. löschst du mal denn code vom Tab und schreibs ihn neu? Edited March 30, 2015 by derlegomangamer Link to comment Share on other sites More sharing options...
beni2800 Posted March 30, 2015 Author Share Posted March 30, 2015 ---- Minecraft Crash Report ---- // I let you down. Sorry Time: 29/03/15 19:48 Description: Rendering item java.lang.NullPointerException: Rendering item at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:235) at net.minecraft.client.renderer.ItemModelMesher.func_178084_b(ItemModelMesher.java:70) at net.minecraft.client.renderer.ItemModelMesher.func_178089_a(ItemModelMesher.java:43) at net.minecraft.client.renderer.entity.RenderItem.func_175042_a(RenderItem.java:362) at net.minecraft.client.renderer.entity.RenderItem.func_180450_b(RenderItem.java:413) at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:267) at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:99) at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:461) at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1078) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1048) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:345) at net.minecraft.client.main.Main.main(SourceFile:120) 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 net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:235) at net.minecraft.client.renderer.ItemModelMesher.func_178084_b(ItemModelMesher.java:70) at net.minecraft.client.renderer.ItemModelMesher.func_178089_a(ItemModelMesher.java:43) at net.minecraft.client.renderer.entity.RenderItem.func_175042_a(RenderItem.java:362) -- Item being rendered -- Details: Item Type: null Item Aux: ~~ERROR~~ NullPointerException: null Item NBT: null Item Foil: ~~ERROR~~ NullPointerException: null Stacktrace: at net.minecraft.client.renderer.entity.RenderItem.func_180450_b(RenderItem.java:413) at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:267) at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:99) at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:461) -- Screen render details -- Details: Screen name: net.minecraft.client.gui.inventory.GuiCrafting Mouse location: Scaled: (316, 114). Absolute: (633, 476) Screen size: Scaled: (683, 353). Absolute: (1366, 705). Scale factor of 2 -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityPlayerSP['xB3NI'/59, l='MpServer', x=-436.30, y=4.00, z=-837.40]] Chunk stats: MultiplayerChunkCache: 289, 289 Level seed: 0 Level generator: ID 01 - flat, ver 0. Features enabled: false Level generator options: Level spawn location: -387.00,4.00,-775.00 - World: (-387,4,-775), Chunk: (at 13,0,9 in -25,-49; contains blocks -400,0,-784 to -385,255,-769), Region: (-1,-2; contains chunks -32,-64 to -1,-33, blocks -512,0,-1024 to -1,255,-513) Level time: 96926 game time, 16131 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: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 15 total; [EntityItem['item.item.painting'/13952, l='MpServer', x=-437.91, y=4.00, z=-825.59], EntityItem['item.item.painting'/13953, l='MpServer', x=-436.09, y=4.00, z=-818.75], EntityPainting['Painting'/18, l='MpServer', x=-434.03, y=6.00, z=-823.00], EntityPainting['Painting'/19, l='MpServer', x=-434.03, y=6.00, z=-817.00], EntityPainting['Painting'/20, l='MpServer', x=-434.03, y=5.00, z=-811.00], EntityPainting['Painting'/20, l='MpServer', x=-434.03, y=5.00, z=-811.00], EntityChicken['Chicken'/23, l='MpServer', x=-387.63, y=4.00, z=-850.47], EntityPainting['Painting'/16, l='MpServer', x=-434.03, y=5.50, z=-836.00], EntityChicken['Chicken'/25, l='MpServer', x=-360.72, y=4.00, z=-870.56], EntityChicken['Chicken'/26, l='MpServer', x=-358.38, y=4.00, z=-830.59], EntityPlayerSP['xB3NI'/59, l='MpServer', x=-436.30, y=4.00, z=-837.40], EntityPainting['Painting'/15, l='MpServer', x=-434.03, y=6.00, z=-841.00], EntityPainting['Painting'/17, l='MpServer', x=-434.03, y=5.50, z=-830.00], EntityItem['item.item.painting'/13950, l='MpServer', x=-435.56, y=4.00, z=-842.06], EntityItem['item.item.painting'/13951, l='MpServer', x=-436.31, y=4.00, z=-827.47]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:351) at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2488) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:367) at net.minecraft.client.main.Main.main(SourceFile:120) 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.8 Operating System: Windows 8 (amd64) version 6.2 Java Version: 1.8.0_25, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 196390352 bytes (187 MB) / 984612864 bytes (939 MB) up to 3817865216 bytes (3641 MB) JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4G IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.10 FML v8.0.50.1344 Minecraft Forge 11.14.1.1344 4 mods loaded, 4 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{8.0.50.1344} [Forge Mod Loader] (forge-1.8-11.14.1.1344.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{11.14.1.1344} [Minecraft Forge] (forge-1.8-11.14.1.1344.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Eistee{1.0} [Eistee] (Eistee-1.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Loaded coremods (and transformers): Launched Version: 1.8-Forge11.14.1.1344 LWJGL: 2.9.1 OpenGL: GeForce 610M/PCIe/SSE2 GL version 4.2.0, NVIDIA Corporation GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Shaders are available because OpenGL 2.1 is supported. VBOs are available because OpenGL 1.5 is supported. Using VBOs: No Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [PrestonPlayz Resource Pack (1.7.2).zip] Current Language: English (UK) Profiler Position: N/A (disabled) Das könnte ich machen... Link to comment Share on other sites More sharing options...
derlegomangamer Posted March 30, 2015 Share Posted March 30, 2015 AH! Fehler gefunden : du versuchst das item dem tab hinzuzufügen, obwehl du es noch nicht registriert hast(glaub ich anhand der nullpoint-exeption) Link to comment Share on other sites More sharing options...
beni2800 Posted March 30, 2015 Author Share Posted March 30, 2015 AH! Fehler gefunden : du versuchst das item dem tab hinzuzufügen, obwehl du es noch nicht registriert hast(glaub ich anhand der nullpoint-exeption) Du bist gut.. Ahh okay also den Code weiter unten kopieren? Link to comment Share on other sites More sharing options...
derlegomangamer Posted March 30, 2015 Share Posted March 30, 2015 (edited) oder das registeritems() in das preinit event ganz als erstes setzen(natürlich auch registerblocks) // Tab @EventHandler publicvoidpreinit(FMLPreInitializationEventevent) { registerItems(); registerBlocks(); tabEistee=newCreativeTabs("tabEistee"){ @Override publicItemgetTabIconItem(){ returnItem.getItemFromBlock(emain.EisteeBlock); } }; EisteeBlock=newEisteeBlock().setUnlocalizedName("EisteeBlock").setCreativeTab(tabEistee); EisteeItem=newEisteeItem().setUnlocalizedName("EisteeItem").setCreativeTab(tabEistee); } Edited March 30, 2015 by derlegomangamer Link to comment Share on other sites More sharing options...
beni2800 Posted March 30, 2015 Author Share Posted March 30, 2015 oder das registeritems() in das preinit event ganz als erstes setzen(natürlich auch registerblocks) // Tab @EventHandler publicvoidpreinit(FMLPreInitializationEventevent) { registerItems(); registerBlocks(); tabEistee=newCreativeTabs("tabEistee"){ @Override publicItemgetTabIconItem(){ returnItem.getItemFromBlock(emain.EisteeBlock); } }; EisteeBlock=newEisteeBlock().setUnlocalizedName("EisteeBlock").setCreativeTab(tabEistee); EisteeItem=newEisteeItem().setUnlocalizedName("EisteeItem").setCreativeTab(tabEistee); } package de.beni280.Eistee;import de.beni280.Eistee.block.EisteeBlock;import de.beni280.Eistee.item.EisteeItem;import net.minecraft.block.Block;import net.minecraft.client.Minecraft;import net.minecraft.client.resources.model.ModelResourceLocation;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;import net.minecraftforge.fml.common.Mod;import net.minecraftforge.fml.common.Mod.EventHandler;import net.minecraftforge.fml.common.event.FMLInitializationEvent;import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;import net.minecraftforge.fml.common.registry.GameRegistry;@Mod(modid = emain.MODID, version = emain.VERSION)public class emain{ public static final String MODID = "Eistee"; public static final String VERSION = "1.0"; public static CreativeTabs tabEistee; public static Item EisteeItem; public static Block EisteeBlock; // Tab @EventHandler public void preinit(FMLPreInitializationEvent event) { registerItems(); registerBlock(); crafting(); tabEistee = new CreativeTabs("tabEistee") { @Override public Item getTabIconItem() { return Item.getItemFromBlock(emain.EisteeBlock); } }; EisteeBlock = new EisteeBlock().setUnlocalizedName("EisteeBlock").setCreativeTab(tabEistee); EisteeItem = new EisteeItem().setUnlocalizedName("EisteeItem").setCreativeTab(tabEistee); } @EventHandler public void init(FMLInitializationEvent event) { } @EventHandler public void postinit(FMLPostInitializationEvent event) { }// Crafting Rezepte private void crafting(){ GameRegistry.addRecipe(new ItemStack(emain.EisteeItem, 1), new Object[]{ "ggg", "gbg", "ggg", Character.valueOf('g'), Items.cake, Character.valueOf('b'), Items.potato }); GameRegistry.addShapelessRecipe(new ItemStack(emain.EisteeBlock,15), new ItemStack(Blocks.gold_block,3), new ItemStack(Blocks.iron_block,5), new ItemStack(Blocks.diamond_block,1)); } //RegisterItem private void registerItems() { GameRegistry.registerItem(EisteeItem, "EisteeItem"); Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(EisteeItem, 0, new ModelResourceLocation(MODID + ":EisteeItem", "inventory")); } //RegisterBlock private void registerBlock(){ GameRegistry.registerBlock(EisteeBlock, "EisteeBlock"); Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(EisteeBlock),0, new ModelResourceLocation(MODID + ":EisteeBlock","inventory")); } } So sieht momentan mein Kot ähm Code aus, bestimmt überseh' ich wieder irgendwas... Denn jetzt startet Minecraft überhaupt nicht mehr Link to comment Share on other sites More sharing options...
derlegomangamer Posted March 30, 2015 Share Posted March 30, 2015 (edited) da fehlt ne klammer am ende des preinit events // Tab @EventHandler public void preinit(FMLPreInitializationEvent event) { registerItems(); registerBlock(); crafting(); tabEistee = new CreativeTabs("tabEistee") { @Override public Item getTabIconItem() { return Item.getItemFromBlock(emain.EisteeBlock); } } }; Edited March 30, 2015 by derlegomangamer Link to comment Share on other sites More sharing options...
beni2800 Posted March 30, 2015 Author Share Posted March 30, 2015 Fehlermeldung? [20:44:31] [main/INFO] [GradleStart]: Extra: [] [20:44:31] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Tim/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken, {REDACTED}, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartCoremodTweaker] [20:44:31] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [20:44:31] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [20:44:31] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartCoremodTweaker [20:44:31] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [20:44:32] [main/INFO] [FML]: Forge Mod Loader version 8.0.50.1344 for Minecraft 1.8 loading [20:44:32] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 8:amd64:6.2, installed at C:\Program Files\Java\jre1.8.0_25 [20:44:32] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [20:44:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.GradleStartCommon$GradleStartCoremodTweaker [20:44:32] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [20:44:32] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [20:44:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [20:44:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [20:44:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartAccessTweaker [20:44:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [20:44:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [20:44:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [20:44:32] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [20:44:37] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [20:44:37] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [20:44:37] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [20:44:37] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.GradleStartCommon$GradleStartAccessTweaker [20:44:37] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [20:44:37] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [20:44:37] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [20:44:39] [Client thread/INFO]: Setting user: Player671 [20:44:43] [Client thread/INFO]: LWJGL Version: 2.9.1 [20:44:44] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [20:44:44] [Client thread/INFO] [FML]: MinecraftForge v11.14.1.1344 Initialized [20:44:44] [Client thread/INFO] [FML]: Replaced 204 ore recipies [20:44:44] [Client thread/INFO] [FML]: Preloading CrashReport classes [20:44:44] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [20:44:45] [Client thread/INFO] [FML]: Searching C:\Users\Tim\Desktop\Minecraft Mod\eclipse\mods for mods [20:44:48] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [20:44:48] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, Eistee] at CLIENT [20:44:48] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, Eistee] at SERVER [20:44:49] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Eistee [20:44:49] [Client thread/WARN]: ResourcePack: ignored non-lowercase namespace: %s in %s [20:44:49] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [20:44:49] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations [20:44:49] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [20:44:49] [Client thread/INFO] [FML]: Applying holder lookups [20:44:49] [Client thread/INFO] [FML]: Holder lookups applied [20:44:49] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue [20:44:49] [Client thread/ERROR] [FML]: mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized FML{8.0.50.1344} [Forge Mod Loader] (forgeSrc-1.8-11.14.1.1344.jar) Unloaded->Constructed->Pre-initialized Forge{11.14.1.1344} [Minecraft Forge] (forgeSrc-1.8-11.14.1.1344.jar) Unloaded->Constructed->Pre-initialized Eistee{1.0} [Eistee] (bin) Unloaded->Constructed->Errored [20:44:49] [Client thread/ERROR] [FML]: The following problems were captured during this phase [20:44:49] [Client thread/ERROR] [FML]: Caught exception from Eistee java.lang.NullPointerException: Can't add null-object to the registry, name Eistee:EisteeItem. at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:383) ~[forgeSrc-1.8-11.14.1.1344.jar:?] at net.minecraftforge.fml.common.registry.GameData.registerItem(GameData.java:767) ~[forgeSrc-1.8-11.14.1.1344.jar:?] at net.minecraftforge.fml.common.registry.GameData.registerItem(GameData.java:731) ~[forgeSrc-1.8-11.14.1.1344.jar:?] at net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:143) ~[forgeSrc-1.8-11.14.1.1344.jar:?] at net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:131) ~[forgeSrc-1.8-11.14.1.1344.jar:?] at de.beni280.Eistee.emain.registerItems(emain.java:106) ~[bin/:?] at de.beni280.Eistee.emain.preinit(emain.java:45) ~[bin/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:518) ~[forgeSrc-1.8-11.14.1.1344.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] 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 net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[forgeSrc-1.8-11.14.1.1344.jar:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[forgeSrc-1.8-11.14.1.1344.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] 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 net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?] at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:514) [Loader.class:?] at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:446) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?] at GradleStart.main(Unknown Source) [start/:?] [20:44:49] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:660]: ---- Minecraft Crash Report ---- // I'm sorry, Dave. Time: 30/03/15 20:44 Description: Initializing game java.lang.NullPointerException: Can't add null-object to the registry, name Eistee:EisteeItem. at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:383) at net.minecraftforge.fml.common.registry.GameData.registerItem(GameData.java:767) at net.minecraftforge.fml.common.registry.GameData.registerItem(GameData.java:731) at net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:143) at net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:131) at de.beni280.Eistee.emain.registerItems(emain.java:106) at de.beni280.Eistee.emain.preinit(emain.java:45) 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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:518) 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 net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187) 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 net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:514) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) at net.minecraft.client.Minecraft.startGame(Minecraft.java:446) at net.minecraft.client.Minecraft.run(Minecraft.java:356) at net.minecraft.client.main.Main.main(Main.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:383) at net.minecraftforge.fml.common.registry.GameData.registerItem(GameData.java:767) at net.minecraftforge.fml.common.registry.GameData.registerItem(GameData.java:731) at net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:143) at net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:131) at de.beni280.Eistee.emain.registerItems(emain.java:106) at de.beni280.Eistee.emain.preinit(emain.java:45) 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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:518) 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 net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187) 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 net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:514) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) at net.minecraft.client.Minecraft.startGame(Minecraft.java:446) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:356) at net.minecraft.client.main.Main.main(Main.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source) -- System Details -- Details: Minecraft Version: 1.8 Operating System: Windows 8 (amd64) version 6.2 Java Version: 1.8.0_25, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 733458480 bytes (699 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.10 FML v8.0.50.1344 Minecraft Forge 11.14.1.1344 4 mods loaded, 4 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized FML{8.0.50.1344} [Forge Mod Loader] (forgeSrc-1.8-11.14.1.1344.jar) Unloaded->Constructed->Pre-initialized Forge{11.14.1.1344} [Minecraft Forge] (forgeSrc-1.8-11.14.1.1344.jar) Unloaded->Constructed->Pre-initialized Eistee{1.0} [Eistee] (bin) Unloaded->Constructed->Errored Loaded coremods (and transformers): Launched Version: 1.8 LWJGL: 2.9.1 OpenGL: GeForce 610M/PCIe/SSE2 GL version 4.2.0, NVIDIA Corporation GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Shaders are available because OpenGL 2.1 is supported. VBOs are available because OpenGL 1.5 is supported. Using VBOs: No 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) [20:44:49] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:660]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Tim\Desktop\Minecraft Mod\eclipse\.\crash-reports\crash-2015-03-30_20.44.49-client.txt Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release Link to comment Share on other sites More sharing options...
derlegomangamer Posted March 30, 2015 Share Posted March 30, 2015 (edited) // Tab @EventHandler public void preinit(FMLPreInitializationEvent event) { registerItems(); registerBlock(); crafting(); tabEistee = new CreativeTabs("tabEistee") { @Override public Item getTabIconItem() { return Item.getItemFromBlock(emain.EisteeBlock); } } }; Klammer vergessen... Klischehafter fehler(mir ist der etwa 100 mal passiert}0 Edited March 30, 2015 by derlegomangamer Link to comment Share on other sites More sharing options...
beni2800 Posted March 30, 2015 Author Share Posted March 30, 2015 // Tab @EventHandler public void preinit(FMLPreInitializationEvent event) { registerItems(); registerBlock(); crafting(); tabEistee = new CreativeTabs("tabEistee") { @Override public Item getTabIconItem() { return Item.getItemFromBlock(emain.EisteeBlock); } } }; Klammer vergessen... Klischehafter fehler(mir ist der etwa 100 mal passiert}0 Sobald ich die Klammer dazu schreiben, kommen tausende rotmakierte Fehler..:/ Link to comment Share on other sites More sharing options...
derlegomangamer Posted March 30, 2015 Share Posted March 30, 2015 // Tab @EventHandler publicvoidpreinit(FMLPreInitializationEventevent) { registerItems(); registerBlock(); crafting(); tabEistee=newCreativeTabs("tabEistee"){ @Override publicItemgetTabIconItem(){ returnItem.getItemFromBlock(emain.EisteeBlock); } } EisteeBlock = new EisteeBlock().setUnlocalizedName("EisteeBlock").setCreativeTab(tabEistee); EisteeItem = new EisteeItem().setUnlocalizedName("EisteeItem").setCreativeTab(tabEistee); }; Mein Fehler ... Link to comment Share on other sites More sharing options...
beni2800 Posted March 30, 2015 Author Share Posted March 30, 2015 // Tab @EventHandler publicvoidpreinit(FMLPreInitializationEventevent) { registerItems(); registerBlock(); crafting(); tabEistee=newCreativeTabs("tabEistee"){ @Override publicItemgetTabIconItem(){ returnItem.getItemFromBlock(emain.EisteeBlock); } } EisteeBlock = new EisteeBlock().setUnlocalizedName("EisteeBlock").setCreativeTab(tabEistee); EisteeItem = new EisteeItem().setUnlocalizedName("EisteeItem").setCreativeTab(tabEistee); }; Mein Fehler ... Es kommen leider wieder fehlermeldungen.. :c Link to comment Share on other sites More sharing options...
derlegomangamer Posted March 30, 2015 Share Posted March 30, 2015 welche? einfach nur rot unterstrichen? Link to comment Share on other sites More sharing options...
beni2800 Posted March 30, 2015 Author Share Posted March 30, 2015 welche? einfach nur rot unterstrichen? An zwei Klammern treten rote X auf und new CreativeTabs("tabEistee") wird rot unterstrichen Link to comment Share on other sites More sharing options...
derlegomangamer Posted March 30, 2015 Share Posted March 30, 2015 was steht da wenn du über die meldung mit dem mauszeiger gehst? Link to comment Share on other sites More sharing options...
beni2800 Posted March 30, 2015 Author Share Posted March 30, 2015 was steht da wenn du über die meldung mit dem mauszeiger gehst? The constructor CreativeTabs() is undefined und Syntax error on token "}", delete this token Link to comment Share on other sites More sharing options...
derlegomangamer Posted March 30, 2015 Share Posted March 30, 2015 (edited) @EventHandler public void preinit(FMLPreInitializationEvent event) { cointab = new CreativeTabs("cointab"){ public Item getTabIconItem() { return Item.getItemFromBlock(CoinBlock); } }; CoinBlock = new CoinBlock().setUnlocalizedName("Coinblock").setCreativeTab(this.cointab); ThorsHammer = new de.derlegoman.example.item.ThorsHammer(Lightmat).setUnlocalizedName("Thors Hammer").setCreativeTab(this.cointab); } ich glaub das letzte Simikolon bei deinem code ist an der falsche stelle(mein code) Edited March 30, 2015 by derlegomangamer Link to comment Share on other sites More sharing options...
beni2800 Posted March 30, 2015 Author Share Posted March 30, 2015 @EventHandler public void preinit(FMLPreInitializationEvent event) { cointab = new CreativeTabs("cointab"){ public Item getTabIconItem() { return Item.getItemFromBlock(CoinBlock); } }; CoinBlock = new CoinBlock().setUnlocalizedName("Coinblock").setCreativeTab(this.cointab); ThorsHammer = new de.derlegoman.example.item.ThorsHammer(Lightmat).setUnlocalizedName("Thors Hammer").setCreativeTab(this.cointab); } ich glaub das letzte Simikolon ist an der falsche stelle(mein code) Die Fehler sind nun weg, aber Minecraft startet immernoch nicht richtig. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now