Jump to content

bdkuhman

Members
  • Posts

    39
  • Joined

  • Last visited

Everything posted by bdkuhman

  1. I can't seem to get my block to register. I've tried a couple things but it's just not working. https://pastebin.com/UukL8F86 https://pastebin.com/EiFHmpPq the log message never gets printed. I've also tried having the methods in DeconTable and add listeners to them from FMLJavaModLoadingContext; but that runs registerBlocks multiple times, and the block has already been registered so it crashes with "Attempted to set registry name with existing registry name!" I've looked through the documentation and i've tried to find examples but I'm not sure what i'm doing wrong.
  2. This just started occurring after upgrading to IDEA 15, the editor has no errors, but on build I get a large amount of errors. E:\Desktop\DeconTable 1.7.10\src\main\java\deconstruction\common\handler\UpdateHandler.java Error:Error:line (3)java: package cpw.mods.fml.common does not exist Error:Error:line (6)java: package net.minecraft.util does not exist E:\Desktop\DeconTable 1.7.10\src\main\java\deconstruction\common\handler\GuiHandler.java Error:Error:line (6)java: package net.minecraft.entity.player does not exist Error:Error:line (7)java: package net.minecraft.world does not exist Error:Error:line (8)java: package cpw.mods.fml.common.network does not exist Error:Error:line (9)java: cannot find symbol symbol: class IGuiHandler Error:Error:line (11)java: cannot find symbol symbol: class EntityPlayer location: class deconstruction.common.handler.GuiHandler Error:Error:line (11)java: cannot find symbol symbol: class World location: class deconstruction.common.handler.GuiHandler Error:Error:line (19)java: cannot find symbol symbol: class EntityPlayer location: class deconstruction.common.handler.GuiHandler Error:Error:line (19)java: cannot find symbol symbol: class World location: class deconstruction.common.handler.GuiHandler E:\Desktop\DeconTable 1.7.10\src\main\java\deconstruction\common\handler\PacketIndex.java Error:Error:line (3)java: package cpw.mods.fml.common.network.simpleimpl does not exist Error:Error:line (4)java: package cpw.mods.fml.common.network.simpleimpl does not exist Error:Error:line (7)java: package io.netty.buffer does not exist Error:Error:line (8)java: package cpw.mods.fml.common.network.simpleimpl does not exist Error:Error:line (10)java: cannot find symbol symbol: class IMessage Error:Error:line (21)java: cannot find symbol symbol: class ByteBuf location: class deconstruction.common.handler.PacketIndex Error:Error:line (26)java: cannot find symbol symbol: class ByteBuf location: class deconstruction.common.handler.PacketIndex Error:Error:line (30)java: cannot find symbol symbol: class IMessageHandler location: class deconstruction.common.handler.PacketIndex Error:Error:line (30)java: cannot find symbol symbol: class IMessage location: class deconstruction.common.handler.PacketIndex Error:Error:line (32)java: cannot find symbol symbol: class MessageContext location: class deconstruction.common.handler.PacketIndex.Handler Error:Error:line (32)java: cannot find symbol symbol: class IMessage location: class deconstruction.common.handler.PacketIndex.Handler E:\Desktop\DeconTable 1.7.10\src\main\java\deconstruction\common\RecipeMover.java Error:Error:line (4)java: package net.minecraft.item.crafting does not exist Error:Error:line (5)java: package net.minecraft.item.crafting does not exist Error:Error:line (6)java: package net.minecraft.item.crafting does not exist Error:Error:line (7)java: package net.minecraft.item.crafting does not exist Error:Error:line (8)java: package net.minecraftforge.oredict does not exist Error:Error:line (9)java: package net.minecraftforge.oredict does not exist Information:Information:java: Some input files use unchecked or unsafe operations. Information:Information:java: Recompile with -Xlint:unchecked for details. E:\Desktop\DeconTable 1.7.10\src\main\java\deconstruction\common\handler\DeconstructionManager.java Error:Error:line (3)java: package cpw.mods.fml.common does not exist Error:Error:line (4)java: package cpw.mods.fml.relauncher does not exist Error:Error:line (7)java: package net.minecraft.enchantment does not exist Error:Error:line (8)java: package net.minecraft.entity.player does not exist Error:Error:line (9)java: package net.minecraft.init does not exist Error:Error:line (10)java: package net.minecraft.item does not exist Error:Error:line (33)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.handler.DeconstructionManager Error:Error:line (69)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.handler.DeconstructionManager Error:Error:line (69)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.handler.DeconstructionManager Error:Error:line (101)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.handler.DeconstructionManager Error:Error:line (101)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.handler.DeconstructionManager Error:Error:line (101)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.handler.DeconstructionManager Error:Error:line (121)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.handler.DeconstructionManager Error:Error:line (121)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.handler.DeconstructionManager Error:Error:line (121)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.handler.DeconstructionManager Error:Error:line (146)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.handler.DeconstructionManager Error:Error:line (146)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.handler.DeconstructionManager Error:Error:line (161)java: cannot find symbol symbol: class EntityPlayer location: class deconstruction.common.handler.DeconstructionManager Error:Error:line (161)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.handler.DeconstructionManager E:\Desktop\DeconTable 1.7.10\src\main\java\deconstruction\common\DeconRecipe.java Error:Error:line (4)java: package net.minecraft.item does not exist Error:Error:line (5)java: package net.minecraft.item.crafting does not exist Error:Error:line (6)java: package net.minecraft.item.crafting does not exist Error:Error:line (7)java: package net.minecraftforge.oredict does not exist Error:Error:line (8)java: package net.minecraftforge.oredict does not exist Error:Error:line (9)java: package net.minecraftforge.oredict does not exist Error:Error:line (18)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.DeconRecipe Error:Error:line (19)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.DeconRecipe Error:Error:line (22)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.DeconRecipe Error:Error:line (22)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.DeconRecipe Error:Error:line (31)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.DeconRecipe Error:Error:line (31)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.DeconRecipe Error:Error:line (57)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.DeconRecipe Error:Error:line (115)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.DeconRecipe Error:Error:line (143)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.DeconRecipe Error:Error:line (143)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.DeconRecipe Error:Error:line (154)java: cannot find symbol symbol: class ShapedRecipes location: class deconstruction.common.DeconRecipe Error:Error:line (173)java: cannot find symbol symbol: class ShapelessRecipes location: class deconstruction.common.DeconRecipe Error:Error:line (187)java: cannot find symbol symbol: class ShapedOreRecipe location: class deconstruction.common.DeconRecipe Error:Error:line (216)java: cannot find symbol symbol: class ShapelessOreRecipe location: class deconstruction.common.DeconRecipe Error:Error:line (246)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.DeconRecipe Error:Error:line (246)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.DeconRecipe Error:Error:line (276)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.DeconRecipe Error:Error:line (276)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.DeconRecipe Error:Error:line (296)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.DeconRecipe Error:Error:line (300)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.DeconRecipe E:\Desktop\DeconTable 1.7.10\src\main\java\deconstruction\client\ClientProxy.java Error:Error:line (7)java: package net.minecraft.block does not exist Error:Error:line (8)java: package net.minecraft.client does not exist Error:Error:line (9)java: package net.minecraft.client.renderer.entity does not exist Error:Error:line (10)java: package net.minecraft.item does not exist E:\Desktop\DeconTable 1.7.10\src\main\java\deconstruction\common\container\inventory\InventoryDeconstructResult.java Error:Error:line (4)java: package net.minecraft.entity.player does not exist Error:Error:line (5)java: package net.minecraft.inventory does not exist Error:Error:line (6)java: package net.minecraft.inventory does not exist Error:Error:line (7)java: package net.minecraft.item does not exist Error:Error:line (8)java: package net.minecraft.util does not exist Error:Error:line (10)java: cannot find symbol symbol: class IInventory Error:Error:line (11)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.container.inventory.InventoryDeconstructResult Error:Error:line (13)java: cannot find symbol symbol: class Container location: class deconstruction.common.container.inventory.InventoryDeconstructResult Error:Error:line (21)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.container.inventory.InventoryDeconstructResult Error:Error:line (31)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.container.inventory.InventoryDeconstructResult Error:Error:line (36)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.container.inventory.InventoryDeconstructResult Error:Error:line (58)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.container.inventory.InventoryDeconstructResult Error:Error:line (69)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.container.inventory.InventoryDeconstructResult Error:Error:line (94)java: cannot find symbol symbol: class EntityPlayer location: class deconstruction.common.container.inventory.InventoryDeconstructResult Error:Error:line (109)java: cannot find symbol symbol: class ItemStack location: class deconstruction.common.container.inventory.InventoryDeconstructResult E:\Desktop\DeconTable 1.7.10\src\main\java\deconstruction\common\container\ContainerDeconstructionTable.java Error:Error:line (12)java: package net.minecraft.entity.player does not exist Error:Error:line (13)java: package net.minecraft.entity.player does not exist Error:Error:line (14)java: package net.minecraft.inventory does not exist Error:Error:line (15)java: package net.minecraft.inventory does not exist Error:Error:line (16)java: package net.minecraft.inventory does not exist Error:Error:line (17)java: package net.minecraft.inventory does not exist Error:Error:line (18)java: package net.minecraft.item does not exist Error:Error:line (19)java: package net.minecraft.world does not exist Error:Error:line (21)java: cannot find symbol symbol: class Container
  3. My bad, Not the unlocalized name, but the name used when calling GameRegistry.registerBlock(); I thought they were the same for a moment there.
  4. So, due to a typo in version 1 of my mod, a block was registered as ModName:Block.name, In version 2 this was changed to ModName:Block Updating to version 2 would remove the block from any worlds. Is there any way to make the name change, but make sure the block stays in the world? Thanks- -bdkuhman
  5. I actually do have a SubscribeEvent to RenderGameOverlayEvent, but just did not include it in the post.
  6. I am trying to send a packet from the client to server, but it crashes to the main menu, and minecraft says:"Connection Lost / A fatal error has occured, this connection is terminated" with this stacktrace: My code: mod_Deconstruction.java: PacketIndex.java: ContainerDeconstructionTable.setCurrentRecipeIndex(): GuiDeconstructionTable:
  7. You can copy the src folder somewhere else before you delete everything and replace it after you decompile if you need to
  8. Delete everything in C:\Users\Studio Apples\Desktop\Minecraft Mod\ Then re-decompile Hope this helped. -bdkuhman
  9. If you are using java 8, try completely uninstalling it and installing JDK 7 (http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html) Also, Make sure your PATH is correct. And restart after uninstalling java.
  10. I am having the same problem. Out of curiosity, what JDK version do you have installed?
  11. I would do that, but I feel that it doesn't fit the theme of my mod
  12. I have plans to create a Power system like ic2/buildcraft/universal electricity/rotarycraft... But I'm just not sure where to start code-wise. I have looked at various source code (buildcraft, ic2 dev deobf, rotarycraft) but again, I just don't know where to start.
  13. I believe forge edits that class at some point during deobf/decomp
  14. @Override public Item getTabIconItem() { // TODO Auto-generated method stub return null; } should be @Override public Item getTabIconItem() { // TODO Auto-generated method stub return Items.TestTube; }
  15. I updated to latest forge, updated obfuscations, and the crash is still happening. I updated the code in the post and the crash report is also updated.
  16. I am trying to add a custom model to my block, but it crashes when placed in the world. BlockEggStand: ClientProxy: BlockEggStandRenderer: crash report:
  17. I am creating a spike block, but the game will crash suddenly. The crash logs have been somewhat unhelpful as the entity being ticked is not the entity damaged by the spikes. Any help would be appreciated. Crash Report: BlockSpikes: TileEntitySpike
  18. How would one go about making a block non-solid to items when they are in entity form (liked dropped on the ground) so that they pass right through the block, but the block will act solid when a player or mob comes in contact with it?
  19. I ran gradlew.bat setupDecompWorkspace, and i get the following error: FAILURE: Build failed with an exception. *What went wrong: A problem occurred configuring root project 'forge-1.7.2-10.12.0.998-src'. > Could not resolve all dependencies for configuration ':classpath'. > Could not resolve net.md-5:SpecialSource:1.7-SNAPSHOT. Required by: :forge-1.7.2-10.12.0.998-src:unspecified > net.minecraftforge.gradle:ForgeGradle:1.1-SNAPSHOT > Unable to load Maven meta-data from https://oss.sonatype.org/content/repositories/snapshots/net/md-5/SpecialSource/1.7-SNAPSHOT/maven-metadata.xml. > Could not GET 'https://oss.sonatype.org/content/repositories/snapshots/net/md-5/SpecialSource/1.7-SNAPSHOT/maven-metadata.xml'. > peer not authenticated * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. I have tried disabling my antivirus, as i have had problems in the past with programs not being able to connect or pass SSL Certificates correctly, but so far nothing has helped.
  20. I am having trouble setting up my repo for 1.7 As an example, say I have my eclipse workspace at C:/DevWorkspace and I have installed Forge at C:/forge (I am just using "forge" as an example, it would really be forge-1.7.2-10.12... you get the picture) Where exactly would I put my repo so I don't need to move any files around, (forge 1.6.4 and earlier would be /forge/mcp/src/minecraft/ExampleMod/...) Thanks in advance, Bdkuhman
×
×
  • Create New...

Important Information

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