Jump to content

EscapeMC

Forge Modder
  • Posts

    337
  • Joined

  • Last visited

Everything posted by EscapeMC

  1. Alright Draco. I've literally copied your class into mine, and I am making edits. Here is the class so far: package com.github.escapemc.thingsmod.client.gui; import com.github.escapemc.thingsmod.tileentity.TileEntityTestChest; import net.minecraft.client.gui.inventory.GuiContainer; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.inventory.Container; import net.minecraft.util.ResourceLocation; import net.minecraft.util.text.TextComponentTranslation; public class gui_test_chest extends GuiContainer { private TileEntityTestChest te; private static ResourceLocation TEST_CHEST_GUI_TEXTURE; public gui_test_chest(Container inventorySlotsIn, TileEntityTestChest te) { super(inventorySlotsIn); this.te = te; TEST_CHEST_GUI_TEXTURE = new ResourceLocation("tm:textures/gui/test_chest.png"); } @Override protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) { this.fontRendererObj.drawString(new TextComponentTranslation("container.test_chest", new Object[0]).getUnformattedText(), 8, 6, 4210752); this.fontRendererObj.drawString(new TextComponentTranslation("container.inventory", new Object[0]).getUnformattedText(), 8, this.ySize - 96 + 2, 4210752); } @Override protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY) { GlStateManager.color(1.0f, 1.0f, 1.0f, 1.0f); this.mc.getTextureManager().bindTexture(TEST_CHEST_GUI_TEXTURE); int x = (width - xSize) / 2; int y = (height - ySize) / 2; this.drawTexturedModalRect(x, y, 0, 0, xSize, ySize); int progress = Math.round(24 * (40 - te.getTime()) / 40.0f); if(te.getTime() == 0) { progress = 0; } this.drawTexturedModalRect(x+79, y+31, 176, 0, 17, progress); } } Few things: 1) The method getTime() is undefined for the type TileEntityTestChest How can I fix this? What method should I do in TileEntityTestChest? 2) What other things in this class do I have to change to make them not your class, and only mine? (So nothing crosses over) 3) Where do I set the xSize and ySize in this? Because I do believe ours are not the same. (xSize = 176, ySize = 122 for me)
  2. My guess, is that there is SOME spelling error SOMEWHERE But I cannot find it (nor can anyone among us) OR WAIT. You have your ClientProxy set up correctly? does it call your registerRenders method? You haven't shown us that class yet, just Reference. I doubt this is it, but I am just shooting out ideas.
  3. Yes, I did. I assigned it to ItemStackHandler (by using: inputSlot = new ItemStackHandler() So what changes will I need to make? If you don't mind, if you could take another look at my github and tell me what I need to do.
  4. https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/ores/entities/TileEntitySifter.java#L38 So, as to this, what do I need to do with the ItemStackHandler? Anything? I still get a crash when right-clicking my block. Thoughts? EDIT: I forgot, and now I removed IItemHandler, and I plugged in inputSlots for where ever I have getStackInSlot I still get crash, I wonder what it is... The crash in the spoiler is the new crash
  5. You're being dumb. URAN here is an enum. If you look at his ItemUran class you'll see this: public class ItemUran extends Item { public ItemUran() { setUnlocalizedName(Reference.ModItems.URAN.getUnlocalizedname()); setRegistryName(Reference.ModItems.URAN.getRegistryName()); this.setCreativeTab(CreativeTabs.MISC); } } Which, in fact, references that enum. Alright I'm sorry... I'm not a wizard with code like you are. I barely pass under your standards. I just thought it might have to do with his usage and placement of "uran" and "ItemUran" What is your suggestion for him then? I actually want to know so I can learn myself
  6. I am stuck getting a method that can be used instead of InventoryHelper.dropInventoryItems Draco would you be kind enough to help me with this? And, because Should I just forget about them? Because if I do not need them, why worry about them.
  7. A few things from personal experience, I noticed your registryName and unlocalizedName. URAN("uran", "itemuran"); and then later, you call uran = new ItemUran(); Capital and lowerCase matters!
  8. So, I am now still encountered with a crash; Log: From looking at it myself, it would seem something is wrong with my gui_test_chest.java class? Not too sure.
  9. Well, thank you for your kind remarks. I actually figured out the TileEntity portion of that comment before you made it. And I just thought about that returning true, and thank you for telling me this.
  10. No, you remove that method and keep your code in your TileEntity . So let me get this part straight: I keep TileEntityTestChest, and in test_chest.java class, I have the public TileEntity createNewTileEntity(World worldIn, int meta) { return TileEntityTestChest(); } in it? Or which part do I keep? Then, as for has/getTileEntity, is this correct?: @Override public boolean hasTileEntity(IBlockState state) { return super.hasTileEntity(state); } public boolean getTileEntity() { return isBlockContainer; } Lastly, Choonster, I cannot implement ItemStackHandler as it does not exist...? And didn't you say NOT to use IItemHandler, but then said to use it? EDIT, I saw you said "when possible"
  11. Edit off of the last comment, (I just thought to put it as another post though) hasTileEntity is apparently depreciated, at least @Override public boolean hasTileEntity() { return super.hasTileEntity(); } is. What should I change that to? Second, for getTileEntity, what should I return it to? As Choonster has responded, do I then take all the code from TileEntityTestChest and put it in that private TileEntity TileEntityTestChest () { (right here) }? Or what exactly do I do?
  12. Wow, every time I think I have a genuine problem, I always just look like an idiot because it is something stupid I missed. What do I need to put instead of null there? I am not sure..
  13. Oh goodness sorry. I forgot completely! Here Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release [15:48:35] [main/INFO] [GradleStart]: Extra: [] [15:48:36] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /Users/school/.gradle/caches/minecraft/assets, --assetIndex, 1.10, --accessToken{REDACTED}, --version, 1.10.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [15:48:36] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [15:48:36] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [15:48:36] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [15:48:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [15:48:36] [main/INFO] [FML]: Forge Mod Loader version 12.18.2.2099 for Minecraft 1.10.2 loading [15:48:36] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_101, running on Mac OS X:x86_64:10.12.1, installed at /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre [15:48:36] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [15:48:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [15:48:36] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [15:48:36] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [15:48:36] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [15:48:36] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [15:48:36] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [15:48:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [15:48:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [15:48:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [15:48:36] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [15:48:37] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [15:48:37] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [15:48:37] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [15:48:37] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [15:48:37] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [15:48:37] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [15:48:37] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [15:48:38] [Client thread/INFO]: Setting user: Player732 [15:48:43] [Client thread/WARN]: Skipping bad option: lastServer: [15:48:43] [Client thread/INFO]: LWJGL Version: 2.9.2 [15:48:43] [Client thread/INFO] [FML]: MinecraftForge v12.18.2.2099 Initialized [15:48:44] [Client thread/INFO] [FML]: Replaced 232 ore recipes [15:48:44] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [15:48:44] [Client thread/INFO] [FML]: Searching /Users/school/Extras/ThingsMod 1.10.2/run/mods for mods [15:48:45] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [15:48:45] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, tm] at CLIENT [15:48:46] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, tm] at SERVER [15:48:46] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Things Mod [15:48:46] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [15:48:46] [Client thread/INFO] [FML]: Found 423 ObjectHolder annotations [15:48:46] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [15:48:46] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [15:48:46] [Client thread/INFO] [FML]: Applying holder lookups [15:48:46] [Client thread/INFO] [FML]: Holder lookups applied [15:48:46] [Client thread/INFO] [FML]: Applying holder lookups [15:48:46] [Client thread/INFO] [FML]: Holder lookups applied [15:48:46] [Client thread/INFO] [FML]: Applying holder lookups [15:48:46] [Client thread/INFO] [FML]: Holder lookups applied [15:48:46] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [15:48:46] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [15:48:46] [Client thread/INFO] [sTDOUT]: [com.github.escapemc.thingsmod.Main:preinit:42]: Pre Init [15:48:46] [Client thread/INFO] [FML]: Applying holder lookups [15:48:46] [Client thread/INFO] [FML]: Holder lookups applied [15:48:46] [Client thread/INFO] [FML]: Injecting itemstacks [15:48:46] [Client thread/INFO] [FML]: Itemstack injection complete [15:48:46] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: OUTDATED Target: 12.18.3.2185 [15:48:48] [sound Library Loader/INFO]: Starting up SoundSystem... [15:48:49] [Thread-6/INFO]: Initializing LWJGL OpenAL [15:48:49] [Thread-6/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [15:48:49] [Thread-6/INFO]: OpenAL initialized. [15:48:49] [sound Library Loader/INFO]: Sound engine started [15:48:52] [Client thread/INFO] [FML]: Max texture size: 16384 [15:48:52] [Client thread/INFO]: Created: 16x16 textures-atlas [15:48:53] [Client thread/INFO] [sTDOUT]: [com.github.escapemc.thingsmod.Main:init:60]: Init [15:48:53] [Client thread/INFO] [FML]: Injecting itemstacks [15:48:53] [Client thread/INFO] [FML]: Itemstack injection complete [15:48:53] [Client thread/INFO] [sTDOUT]: [com.github.escapemc.thingsmod.Main:postinit:70]: Post Init [15:48:53] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [15:48:53] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Things Mod [15:48:55] [Client thread/INFO]: SoundSystem shutting down... [15:48:55] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com [15:48:55] [sound Library Loader/INFO]: Starting up SoundSystem... [15:48:55] [Thread-8/INFO]: Initializing LWJGL OpenAL [15:48:55] [Thread-8/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [15:48:55] [Thread-8/INFO]: OpenAL initialized. [15:48:56] [sound Library Loader/INFO]: Sound engine started [15:48:58] [Client thread/INFO] [FML]: Max texture size: 16384 [15:48:58] [Client thread/INFO]: Created: 1024x512 textures-atlas [15:49:00] [Client thread/WARN]: Skipping bad option: lastServer: [15:49:01] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id [15:49:05] [server thread/INFO]: Starting integrated minecraft server version 1.10.2 [15:49:05] [server thread/INFO]: Generating keypair [15:49:05] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance [15:49:05] [server thread/INFO] [FML]: Applying holder lookups [15:49:05] [server thread/INFO] [FML]: Holder lookups applied [15:49:05] [server thread/INFO] [FML]: Loading dimension 0 (Test World) (net.minecraft.server.integrated.IntegratedServer@6ef974be) [15:49:05] [server thread/INFO] [FML]: Loading dimension 1 (Test World) (net.minecraft.server.integrated.IntegratedServer@6ef974be) [15:49:05] [server thread/INFO] [FML]: Loading dimension -1 (Test World) (net.minecraft.server.integrated.IntegratedServer@6ef974be) [15:49:05] [server thread/INFO]: Preparing start region for level 0 [15:49:07] [server thread/INFO]: Preparing spawn area: 8% [15:49:08] [server thread/INFO]: Preparing spawn area: 96% [15:49:08] [server thread/INFO]: Changing view distance to 12, from 10 [15:49:09] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2 [15:49:09] [Netty Server IO #1/INFO] [FML]: Client protocol version 2 [15:49:09] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected] [15:49:09] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established [15:49:09] [server thread/INFO] [FML]: [server thread] Server side modded connection established [15:49:09] [server thread/INFO]: Player732[local:E:8c2a0fa6] logged in with entity id 275 at (122.83419347227756, 80.0, 133.9683134165068) [15:49:09] [server thread/INFO]: Player732 joined the game [15:49:10] [server thread/INFO]: Saving and pausing game... [15:49:10] [server thread/INFO]: Saving chunks for level 'Test World'/Overworld [15:49:10] [server thread/INFO]: Saving chunks for level 'Test World'/Nether [15:49:10] [server thread/INFO]: Saving chunks for level 'Test World'/The End [15:49:10] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@1e093d99[id=23345143-148b-327b-8641-d2091803951a,name=Player732,properties={},legacy=false] com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) ~[YggdrasilAuthenticationService.class:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:175) [YggdrasilMinecraftSessionService.class:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:59) [YggdrasilMinecraftSessionService$1.class:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:56) [YggdrasilMinecraftSessionService$1.class:?] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?] at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?] at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?] at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?] at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?] at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:165) [YggdrasilMinecraftSessionService.class:?] at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3060) [Minecraft.class:?] at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:131) [skinManager$3.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_101] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_101] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101] [15:49:11] [Client thread/FATAL]: Error executing task java.util.concurrent.ExecutionException: java.util.ConcurrentModificationException at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_101] at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_101] at net.minecraft.util.Util.runTask(Util.java:26) [util.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1108) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:406) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[?: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:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] Caused by: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextNode(HashMap.java:1437) ~[?:1.8.0_101] at java.util.HashMap$KeyIterator.next(HashMap.java:1461) ~[?:1.8.0_101] at net.minecraft.util.ClassInheritanceMultiMap.<init>(ClassInheritanceMultiMap.java:27) ~[ClassInheritanceMultiMap.class:?] at net.minecraft.world.chunk.Chunk.<init>(Chunk.java:106) ~[Chunk.class:?] at net.minecraft.client.multiplayer.ChunkProviderClient.loadChunk(ChunkProviderClient.java:72) ~[ChunkProviderClient.class:?] at net.minecraft.client.multiplayer.WorldClient.doPreChunk(WorldClient.java:197) ~[WorldClient.class:?] at net.minecraft.client.network.NetHandlerPlayClient.handleChunkData(NetHandlerPlayClient.java:783) ~[NetHandlerPlayClient.class:?] at net.minecraft.network.play.server.SPacketChunkData.processPacket(SPacketChunkData.java:110) ~[sPacketChunkData.class:?] at net.minecraft.network.play.server.SPacketChunkData.processPacket(SPacketChunkData.java:20) ~[sPacketChunkData.class:?] at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:15) ~[PacketThreadUtil$1.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_101] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_101] at net.minecraft.util.Util.runTask(Util.java:25) ~[util.class:?] ... 15 more [15:49:12] [server thread/FATAL]: Error executing task java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_101] at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_101] at net.minecraft.util.Util.runTask(Util.java:26) [util.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:742) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:687) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:156) [integratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:536) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101] Caused by: java.lang.NullPointerException at net.minecraft.inventory.Slot.getStack(Slot.java:83) ~[slot.class:?] at net.minecraft.inventory.Container.getInventory(Container.java:63) ~[Container.class:?] at net.minecraft.inventory.Container.addListener(Container.java:52) ~[Container.class:?] at net.minecraftforge.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:100) ~[FMLNetworkHandler.class:?] at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2723) ~[EntityPlayer.class:?] at com.github.escapemc.thingsmod.init.test_chest.onBlockActivated(test_chest.java:38) ~[test_chest.class:?] at net.minecraft.server.management.PlayerInteractionManager.processRightClickBlock(PlayerInteractionManager.java:477) ~[PlayerInteractionManager.class:?] at net.minecraft.network.NetHandlerPlayServer.processRightClickBlock(NetHandlerPlayServer.java:706) ~[NetHandlerPlayServer.class:?] at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(CPacketPlayerTryUseItemOnBlock.java:68) ~[CPacketPlayerTryUseItemOnBlock.class:?] at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(CPacketPlayerTryUseItemOnBlock.java:13) ~[CPacketPlayerTryUseItemOnBlock.class:?] at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:15) ~[PacketThreadUtil$1.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_101] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_101] at net.minecraft.util.Util.runTask(Util.java:25) ~[util.class:?] ... 5 more [15:49:12] [server thread/ERROR]: Encountered an unexpected exception net.minecraft.util.ReportedException: Ticking player at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:789) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:687) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:156) ~[integratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:536) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101] Caused by: java.lang.NullPointerException at net.minecraft.inventory.Slot.getStack(Slot.java:83) ~[slot.class:?] at net.minecraft.inventory.Container.detectAndSendChanges(Container.java:85) ~[Container.class:?] at net.minecraft.entity.player.EntityPlayerMP.onUpdate(EntityPlayerMP.java:292) ~[EntityPlayerMP.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2108) ~[World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:873) ~[WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:2075) ~[World.class:?] at net.minecraft.world.WorldServer.tickPlayers(WorldServer.java:674) ~[WorldServer.class:?] at net.minecraft.world.World.updateEntities(World.java:1864) ~[World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:645) ~[WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:783) ~[MinecraftServer.class:?] ... 4 more [15:49:12] [server thread/ERROR]: This crash report has been saved to: /Users/school/Extras/ThingsMod 1.10.2/run/./crash-reports/crash-2016-12-19_15.49.12-server.txt [15:49:12] [server thread/INFO]: Stopping server [15:49:12] [server thread/INFO]: Saving players [15:49:12] [server thread/INFO]: Saving worlds [15:49:12] [server thread/INFO]: Saving chunks for level 'Test World'/Overworld [15:49:13] [server thread/INFO]: Saving chunks for level 'Test World'/Nether [15:49:13] [server thread/INFO]: Saving chunks for level 'Test World'/The End [15:49:13] [server thread/INFO] [FML]: Unloading dimension 0 [15:49:13] [server thread/INFO] [FML]: Unloading dimension -1 [15:49:13] [server thread/INFO] [FML]: Unloading dimension 1 [15:49:13] [server thread/INFO] [FML]: Applying holder lookups [15:49:13] [server thread/INFO] [FML]: Holder lookups applied [15:49:13] [server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded. AL lib: (EE) alc_cleanup: 1 device not closed
  14. So I have a custom chest I am working on, and whenever I right-click the block, my game crashes. https://github.com/EcapeMC/ThingsMod-1.10.2 My GitHub for this mod.
  15. Also, do you have UnlocalizedName and RegistryName for this ItemCheese? I can tell you're following MrCrayfish's tutorial, am I right? And yes, where do you call ModItems.registerRenders()? Lastly, you are not MrCrayfish, please change your information... [17:01:43] [Client thread/INFO]: Searching /Users/Tnt/Desktop/Modding Workspace 1.10 Crayfish/run/mods for mods
  16. Thank you!!!! This was the solution I needed. Sorry for late response, I went to do stuff and am now back on the forums.
  17. Alright, so I am in a class for my block, type ModBlocks.registerBlock(ModBlocks.escapemc_ore); (I did it with all blocks too) aaaand.... crash still... :'( Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release [15:38:56] [main/INFO] [GradleStart]: Extra: [] [15:38:56] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /Users/school/.gradle/caches/minecraft/assets, --assetIndex, 1.10, --accessToken{REDACTED}, --version, 1.10.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [15:38:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [15:38:56] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [15:38:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [15:38:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [15:38:57] [main/INFO] [FML]: Forge Mod Loader version 12.18.2.2099 for Minecraft 1.10.2 loading [15:38:57] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_101, running on Mac OS X:x86_64:10.12.1, installed at /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre [15:38:57] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [15:38:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [15:38:57] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [15:38:57] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [15:38:57] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [15:38:57] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [15:38:57] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [15:38:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [15:38:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [15:38:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [15:38:57] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [15:38:58] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [15:38:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [15:38:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [15:38:59] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [15:38:59] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [15:38:59] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [15:38:59] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [15:39:00] [Client thread/INFO]: Setting user: Player90 [15:39:04] [Client thread/WARN]: Skipping bad option: lastServer: [15:39:04] [Client thread/INFO]: LWJGL Version: 2.9.2 [15:39:05] [Client thread/INFO] [FML]: MinecraftForge v12.18.2.2099 Initialized [15:39:05] [Client thread/INFO] [FML]: Replaced 232 ore recipes [15:39:05] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [15:39:05] [Client thread/INFO] [FML]: Searching /Users/school/Extras/TeamMadness Mod 1.10.2/run/mods for mods [15:39:05] [Client thread/ERROR] [FML]: The mcmod.info file in bin cannot be parsed as valid JSON. It will be ignored com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:176) ~[ReflectiveTypeAdapterFactory$Adapter.class:?] at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?] at com.google.gson.Gson.fromJson(Gson.java:868) ~[Gson.class:?] at com.google.gson.Gson.fromJson(Gson.java:841) ~[Gson.class:?] at net.minecraftforge.fml.common.MetadataCollection.from(MetadataCollection.java:72) [MetadataCollection.class:?] at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:76) [DirectoryDiscoverer.class:?] at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.discover(DirectoryDiscoverer.java:60) [DirectoryDiscoverer.class:?] at net.minecraftforge.fml.common.discovery.ContainerType.findMods(ContainerType.java:49) [ContainerType.class:?] at net.minecraftforge.fml.common.discovery.ModCandidate.explore(ModCandidate.java:78) [ModCandidate.class:?] at net.minecraftforge.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:141) [ModDiscoverer.class:?] at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:381) [Loader.class:?] at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:520) [Loader.class:?] at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:218) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:477) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:386) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[?: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:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] Caused by: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at com.google.gson.internal.bind.JsonTreeReader.expect(JsonTreeReader.java:139) ~[JsonTreeReader.class:?] at com.google.gson.internal.bind.JsonTreeReader.beginArray(JsonTreeReader.java:58) ~[JsonTreeReader.class:?] at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:79) ~[CollectionTypeAdapterFactory$Adapter.class:?] at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60) ~[CollectionTypeAdapterFactory$Adapter.class:?] at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93) ~[ReflectiveTypeAdapterFactory$1.class:?] at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172) ~[ReflectiveTypeAdapterFactory$Adapter.class:?] ... 27 more [15:39:07] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [15:39:08] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, tmm] at CLIENT [15:39:08] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, tmm] at SERVER [15:39:08] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TeamMadness Mod [15:39:08] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [15:39:08] [Client thread/INFO] [FML]: Found 423 ObjectHolder annotations [15:39:08] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [15:39:08] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [15:39:08] [Client thread/INFO] [FML]: Applying holder lookups [15:39:08] [Client thread/INFO] [FML]: Holder lookups applied [15:39:08] [Client thread/INFO] [FML]: Applying holder lookups [15:39:08] [Client thread/INFO] [FML]: Holder lookups applied [15:39:08] [Client thread/INFO] [FML]: Applying holder lookups [15:39:08] [Client thread/INFO] [FML]: Holder lookups applied [15:39:09] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [15:39:09] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [15:39:09] [Client thread/INFO] [sTDOUT]: [com.github.escapemc.teammadnessmod.Main:preinit:38]: Pre Init [15:39:09] [Client thread/ERROR] [FML]: Attempt to register a null object [15:39:09] [Client thread/INFO] [FML]: Applying holder lookups [15:39:09] [Client thread/INFO] [FML]: Holder lookups applied [15:39:09] [Client thread/INFO] [FML]: Injecting itemstacks [15:39:09] [Client thread/INFO] [FML]: Itemstack injection complete [15:39:09] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue [15:39:09] [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.19} [Minecraft Coder Pack] (minecraft.jar) UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.10.2-12.18.2.2099.jar) UCH Forge{12.18.2.2099} [Minecraft Forge] (forgeSrc-1.10.2-12.18.2.2099.jar) UCE tmm{1.5.0.0} [TeamMadness Mod] (bin) [15:39:09] [Client thread/ERROR] [FML]: The following problems were captured during this phase [15:39:09] [Client thread/ERROR] [FML]: Caught exception from tmm java.lang.NullPointerException: Attempt to register a null object at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:246) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?] at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:153) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?] at com.github.escapemc.teammadnessmod.init.ModBlocks.registerBlock(ModBlocks.java:71) ~[bin/:?] at com.github.escapemc.teammadnessmod.blocks.escapemc_ore.<init>(escapemc_ore.java:22) ~[bin/:?] at com.github.escapemc.teammadnessmod.init.ModBlocks.init(ModBlocks.java:39) ~[bin/:?] at com.github.escapemc.teammadnessmod.Main.preinit(Main.java:42) ~[bin/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:599) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[?: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 net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:239) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[?: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 net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:142) [LoadController.class:?] at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:609) [Loader.class:?] at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:257) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:477) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:386) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[?: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:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] [15:39:09] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:649]: ---- Minecraft Crash Report ---- // Why is it breaking Time: 12/17/16 3:39 PM Description: Initializing game java.lang.NullPointerException: Attempt to register a null object at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:246) at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:153) at com.github.escapemc.teammadnessmod.init.ModBlocks.registerBlock(ModBlocks.java:71) at com.github.escapemc.teammadnessmod.blocks.escapemc_ore.<init>(escapemc_ore.java:22) at com.github.escapemc.teammadnessmod.init.ModBlocks.init(ModBlocks.java:39) at com.github.escapemc.teammadnessmod.Main.preinit(Main.java:42) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:599) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at 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:239) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at 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:142) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:609) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:257) at net.minecraft.client.Minecraft.startGame(Minecraft.java:477) at net.minecraft.client.Minecraft.run(Minecraft.java:386) at net.minecraft.client.main.Main.main(Main.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:26) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace: at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:246) at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:153) at com.github.escapemc.teammadnessmod.init.ModBlocks.registerBlock(ModBlocks.java:71) at com.github.escapemc.teammadnessmod.blocks.escapemc_ore.<init>(escapemc_ore.java:22) at com.github.escapemc.teammadnessmod.init.ModBlocks.init(ModBlocks.java:39) at com.github.escapemc.teammadnessmod.Main.preinit(Main.java:42) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:599) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at 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:239) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at 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:142) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:609) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:257) at net.minecraft.client.Minecraft.startGame(Minecraft.java:477) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:386) at net.minecraft.client.main.Main.main(Main.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:26) -- System Details -- Details: Minecraft Version: 1.10.2 Operating System: Mac OS X (x86_64) version 10.12.1 Java Version: 1.8.0_101, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 665842600 bytes (634 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 9.32 Powered by Forge 12.18.2.2099 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.19} [Minecraft Coder Pack] (minecraft.jar) UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.10.2-12.18.2.2099.jar) UCH Forge{12.18.2.2099} [Minecraft Forge] (forgeSrc-1.10.2-12.18.2.2099.jar) UCE tmm{1.5.0.0} [TeamMadness Mod] (bin) Loaded coremods (and transformers): Launched Version: 1.10.2 LWJGL: 2.9.2 OpenGL: Intel(R) Iris(TM) Graphics 6100 GL version 2.1 INTEL-10.20.23, Intel Inc. GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because ARB_framebuffer_object 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: Yes 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) CPU: 4x Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz [15:39:09] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:649]: #@!@# Game crashed! Crash report saved to: #@!@# /Users/school/Extras/TeamMadness Mod 1.10.2/run/./crash-reports/crash-2016-12-17_15.39.09-client.txt To save time instead of you having to go to my github: ModBlocks: package com.github.escapemc.teammadnessmod.init; import com.github.escapemc.teammadnessmod.Main; import com.github.escapemc.teammadnessmod.blocks.cdm; import com.github.escapemc.teammadnessmod.blocks.epicbudder22_ore; import com.github.escapemc.teammadnessmod.blocks.escapemc_ore; import com.github.escapemc.teammadnessmod.blocks.jonahjoe2002_ore; import com.github.escapemc.teammadnessmod.blocks.madness_ore; import com.github.escapemc.teammadnessmod.blocks.ms; import com.github.escapemc.teammadnessmod.blocks.mushrromstew_ore; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraft.item.ItemBlock; import net.minecraftforge.client.model.ModelLoader; import net.minecraftforge.fml.common.registry.GameRegistry; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; public class ModBlocks { public static Block escapemc_ore; public static Block mushrromstew_ore; public static Block epicbudder22_ore; public static Block jonahjoe2002_ore; public static Block ms; public static Block cdm; public static Block madness_ore; public static void init() { escapemc_ore = new escapemc_ore(Material.IRON).setCreativeTab(Main.TeamMadnessModMaterialsTab); mushrromstew_ore = new mushrromstew_ore(Material.IRON).setCreativeTab(Main.TeamMadnessModMaterialsTab); epicbudder22_ore = new epicbudder22_ore(Material.IRON).setCreativeTab(Main.TeamMadnessModMaterialsTab); jonahjoe2002_ore = new jonahjoe2002_ore(Material.IRON).setCreativeTab(Main.TeamMadnessModMaterialsTab); ms = new ms(Material.IRON).setCreativeTab(Main.TeamMadnessModMaterialsTab); cdm = new cdm(Material.IRON).setCreativeTab(Main.TeamMadnessModMaterialsTab); madness_ore = new madness_ore(Material.IRON).setCreativeTab(Main.TeamMadnessModMaterialsTab); } public static void registry() { GameRegistry.register(new ItemBlock(escapemc_ore)); GameRegistry.register(new ItemBlock (mushrromstew_ore)); GameRegistry.register(new ItemBlock(epicbudder22_ore)); GameRegistry.register(new ItemBlock(jonahjoe2002_ore)); GameRegistry.register(new ItemBlock(ms)); GameRegistry.register(new ItemBlock(cdm)); GameRegistry.register(new ItemBlock(madness_ore)); } public static void registerBlock(Block block) { GameRegistry.register(block); ItemBlock item = new ItemBlock(block); item.setRegistryName(block.getRegistryName()); GameRegistry.register(item); } public static void registerRenders() { registerRender(escapemc_ore); registerRender(mushrromstew_ore); registerRender(epicbudder22_ore); registerRender(jonahjoe2002_ore); registerRender(ms); registerRender(cdm); registerRender(madness_ore); } @SideOnly(Side.CLIENT) public static void registerRender(Block block) { ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(block), 0, new ModelResourceLocation(block.getRegistryName(), "inventory")); } } escapemc_ore: package com.github.escapemc.teammadnessmod.blocks; import com.github.escapemc.teammadnessmod.Reference; import com.github.escapemc.teammadnessmod.init.ModBlocks; import net.minecraft.block.Block; import net.minecraft.block.material.Material; public class escapemc_ore extends Block { public escapemc_ore(Material materialIn) { super(materialIn); this.setHardness(0.6F); this.setHarvestLevel("pickaxe", 3); this.setResistance(15); setUnlocalizedName(Reference.ModItems.ESCAPEMC_ORE.getUnlocalizedName()); setRegistryName(Reference.ModItems.ESCAPEMC_ORE.getRegistryName()); ModBlocks.registerBlock(ModBlocks.escapemc_ore); } } and the main is just calling the modblock.init, if you need to see that say it. what exactly is null? escapemc_ore? and how?
  18. Are you talking about this: public static void registerBlock(Block block) { GameRegistry.register(block); ItemBlock item = new ItemBlock(block); item.setRegistryName(block.getRegistryName()); GameRegistry.register(item); } Register this in the Preinit? I tried that, but requires me to give a variable (I tried ModBlocks.registerBlock(); but it needed me to put something in the ()
  19. No, I have not... *facepalm* Where should I call upon that? PreInit? Yes. Or better, you should use the new RegistryEvent. Would you explain this to me? EDIT: alright, 2 things here, would this be correct? Code: [select] escapemc_ore = new ItemBlock(escapemc_ore).setRegistryName(escapemc_ore); and second, where would I put that?
  20. No, I have not... *facepalm* Where should I call upon that? PreInit?
  21. How and where should I do this? Can I do something like setRegistryName(Reference.ModItems.ESCAPEMC_ORE.getRegistryName()); As I have done for the item form? And where do I add this? Or, in the init method where I have the escapemc_ore = new escapemc_ore.... just add .setRegistryName(Reference.ESCAPEMC_ORE)?
  22. Now, as for a blockstate, what is an example of one? None of the ones I have tried work! Also, I did what Draco said, and it now gives me a crash: Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release [14:51:13] [main/INFO] [GradleStart]: Extra: [] [14:51:13] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /Users/school/.gradle/caches/minecraft/assets, --assetIndex, 1.10, --accessToken{REDACTED}, --version, 1.10.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [14:51:13] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [14:51:13] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [14:51:13] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [14:51:13] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [14:51:13] [main/INFO] [FML]: Forge Mod Loader version 12.18.2.2099 for Minecraft 1.10.2 loading [14:51:13] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_101, running on Mac OS X:x86_64:10.12.1, installed at /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre [14:51:13] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [14:51:13] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [14:51:13] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [14:51:13] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [14:51:13] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [14:51:13] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [14:51:13] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [14:51:13] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [14:51:13] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [14:51:13] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [14:51:13] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [14:51:14] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [14:51:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [14:51:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [14:51:15] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [14:51:15] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [14:51:15] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [14:51:15] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [14:51:16] [Client thread/INFO]: Setting user: Player344 [14:51:20] [Client thread/WARN]: Skipping bad option: lastServer: [14:51:20] [Client thread/INFO]: LWJGL Version: 2.9.2 [14:51:21] [Client thread/INFO] [FML]: MinecraftForge v12.18.2.2099 Initialized [14:51:21] [Client thread/INFO] [FML]: Replaced 232 ore recipes [14:51:21] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [14:51:21] [Client thread/INFO] [FML]: Searching /Users/school/Extras/TeamMadness Mod 1.10.2/run/mods for mods [14:51:21] [Client thread/ERROR] [FML]: The mcmod.info file in bin cannot be parsed as valid JSON. It will be ignored com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:176) ~[ReflectiveTypeAdapterFactory$Adapter.class:?] at com.google.gson.Gson.fromJson(Gson.java:803) ~[Gson.class:?] at com.google.gson.Gson.fromJson(Gson.java:868) ~[Gson.class:?] at com.google.gson.Gson.fromJson(Gson.java:841) ~[Gson.class:?] at net.minecraftforge.fml.common.MetadataCollection.from(MetadataCollection.java:72) [MetadataCollection.class:?] at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:76) [DirectoryDiscoverer.class:?] at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.discover(DirectoryDiscoverer.java:60) [DirectoryDiscoverer.class:?] at net.minecraftforge.fml.common.discovery.ContainerType.findMods(ContainerType.java:49) [ContainerType.class:?] at net.minecraftforge.fml.common.discovery.ModCandidate.explore(ModCandidate.java:78) [ModCandidate.class:?] at net.minecraftforge.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:141) [ModDiscoverer.class:?] at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:381) [Loader.class:?] at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:520) [Loader.class:?] at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:218) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:477) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:386) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[?: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:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] Caused by: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at com.google.gson.internal.bind.JsonTreeReader.expect(JsonTreeReader.java:139) ~[JsonTreeReader.class:?] at com.google.gson.internal.bind.JsonTreeReader.beginArray(JsonTreeReader.java:58) ~[JsonTreeReader.class:?] at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:79) ~[CollectionTypeAdapterFactory$Adapter.class:?] at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60) ~[CollectionTypeAdapterFactory$Adapter.class:?] at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93) ~[ReflectiveTypeAdapterFactory$1.class:?] at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172) ~[ReflectiveTypeAdapterFactory$Adapter.class:?] ... 27 more [14:51:23] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [14:51:24] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, tmm] at CLIENT [14:51:24] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, tmm] at SERVER [14:51:24] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TeamMadness Mod [14:51:24] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [14:51:24] [Client thread/INFO] [FML]: Found 423 ObjectHolder annotations [14:51:24] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [14:51:24] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [14:51:24] [Client thread/INFO] [FML]: Applying holder lookups [14:51:24] [Client thread/INFO] [FML]: Holder lookups applied [14:51:24] [Client thread/INFO] [FML]: Applying holder lookups [14:51:24] [Client thread/INFO] [FML]: Holder lookups applied [14:51:24] [Client thread/INFO] [FML]: Applying holder lookups [14:51:24] [Client thread/INFO] [FML]: Holder lookups applied [14:51:25] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [14:51:25] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [14:51:25] [Client thread/INFO] [sTDOUT]: [com.github.escapemc.teammadnessmod.Main:preinit:38]: Pre Init [14:51:25] [Client thread/ERROR] [FML]: Attempt to register object without having set a registry name net.minecraft.item.ItemBlock@7677d320 (type net.minecraft.item.ItemBlock) [14:51:25] [Client thread/INFO] [FML]: Applying holder lookups [14:51:25] [Client thread/INFO] [FML]: Holder lookups applied [14:51:25] [Client thread/INFO] [FML]: Injecting itemstacks [14:51:25] [Client thread/INFO] [FML]: Itemstack injection complete [14:51:25] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue [14:51:25] [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.19} [Minecraft Coder Pack] (minecraft.jar) UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.10.2-12.18.2.2099.jar) UCH Forge{12.18.2.2099} [Minecraft Forge] (forgeSrc-1.10.2-12.18.2.2099.jar) UCE tmm{1.5.0.0} [TeamMadness Mod] (bin) [14:51:25] [Client thread/ERROR] [FML]: The following problems were captured during this phase [14:51:25] [Client thread/ERROR] [FML]: Caught exception from tmm java.lang.IllegalArgumentException: No registry name set for object net.minecraft.item.ItemBlock@7677d320 (net.minecraft.item.ItemBlock) at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:251) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?] at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:153) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?] at com.github.escapemc.teammadnessmod.init.ModBlocks.registry(ModBlocks.java:53) ~[bin/:?] at com.github.escapemc.teammadnessmod.Main.preinit(Main.java:43) ~[bin/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:599) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[?: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 net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:239) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[?: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 net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:142) [LoadController.class:?] at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:609) [Loader.class:?] at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:257) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:477) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:386) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[?: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:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] [14:51:25] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:649]: ---- Minecraft Crash Report ---- // Oops. Time: 12/17/16 2:51 PM Description: Initializing game java.lang.IllegalArgumentException: No registry name set for object net.minecraft.item.ItemBlock@7677d320 (net.minecraft.item.ItemBlock) at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:251) at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:153) at com.github.escapemc.teammadnessmod.init.ModBlocks.registry(ModBlocks.java:53) at com.github.escapemc.teammadnessmod.Main.preinit(Main.java:43) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:599) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at 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:239) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at 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:142) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:609) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:257) at net.minecraft.client.Minecraft.startGame(Minecraft.java:477) at net.minecraft.client.Minecraft.run(Minecraft.java:386) at net.minecraft.client.main.Main.main(Main.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:26) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace: at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:251) at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:153) at com.github.escapemc.teammadnessmod.init.ModBlocks.registry(ModBlocks.java:53) at com.github.escapemc.teammadnessmod.Main.preinit(Main.java:43) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:599) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at 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:239) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at 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:142) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:609) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:257) at net.minecraft.client.Minecraft.startGame(Minecraft.java:477) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:386) at net.minecraft.client.main.Main.main(Main.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:26) -- System Details -- Details: Minecraft Version: 1.10.2 Operating System: Mac OS X (x86_64) version 10.12.1 Java Version: 1.8.0_101, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 782466048 bytes (746 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 9.32 Powered by Forge 12.18.2.2099 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.19} [Minecraft Coder Pack] (minecraft.jar) UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.10.2-12.18.2.2099.jar) UCH Forge{12.18.2.2099} [Minecraft Forge] (forgeSrc-1.10.2-12.18.2.2099.jar) UCE tmm{1.5.0.0} [TeamMadness Mod] (bin) Loaded coremods (and transformers): Launched Version: 1.10.2 LWJGL: 2.9.2 OpenGL: Intel(R) Iris(TM) Graphics 6100 GL version 2.1 INTEL-10.20.23, Intel Inc. GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because ARB_framebuffer_object 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: Yes 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) CPU: 4x Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz [14:51:25] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:649]: #@!@# Game crashed! Crash report saved to: #@!@# /Users/school/Extras/TeamMadness Mod 1.10.2/run/./crash-reports/crash-2016-12-17_14.51.25-client.txt No registry name set for ItemBlock...?
  23. Well, I do it in ModBlocks, and then call upon that in the preinit.
  24. So, with my blocks, 1, I do not have a working blockstate... Second, whenever I go into a world of mine, and I place the blocks, if I go back into that world, the blocked (from my mod) will be gone completely, but oddly enough there are shadows from the previously placed blocks. https://github.com/EcapeMC/TeamMadnessMod-1.10.2/tree/master/main (PS, I did change my main package! No longer com.escapemc, but I went with the github suggestion, so its now com.github.escapemc
  25. You do not own that domain. Then what exactly should I make it? I really have no idea... It just seemed to be the default thing that people do. EDIT: Should I just get rid of com.? Please follow the Java naming conventions. What should I make these then? I have used these all my coding time, and no one has said anything... also, doesn't 1.11 force you to use lowerCase? And as to the blockstate thing, whelp, *facepalm* thanks
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.