Jump to content

SanAndreaP

Forge Modder
  • Posts

    1689
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by SanAndreaP

  1. 1. Nothing Changed, My code: LanguageRegistry.instance().addStringLocalization("FrostedDirt" + ".name", "en_US", "Frosted Dirt"); 2. Yes I do 3. Hmm, Lex? 4. I crashed: This is weird for 1. this: "FrostedDirt" + ".name" has to be this: "frostedDirt" + ".name" for 3. I dunno how it works on Blocks, I used that only for my items so far and that works. for 4. then I dunno.
  2. 1. Use this instead of ModLoader.addName(...): LanguageRegistry.instance().addStringLocalization("yourItemName" + ".name", "en_US", "Your Item Name"); 2. Do you use getTextureFile() in your block class? 3. dunno, but I believe there is an other method / hook for it now 4. I have several problems with my entities, too. Here: http://www.minecraftforge.net/forum/index.php/topic,1204.0.html If you use the method addRenderer(...), I saw that there is something other for that now. Maybe try this: RenderingRegistry.instance().registerEntityRenderingHandler(YourEntity.class, new YourEntityRender(new CSM_YourEntityModel(...))); Use that like map.put(...) from the addRenderer in your load method and outcomment your whole addRenderer method. Maybe then it'll work.
  3. I use both, but it doesn't work either It's the same error I get as when I use only EntityRegistry.registerModEntity.
  4. Hello there I wanted to use the new "modder" version of forge and play around with it. Everything seems to work, but I have issues with entities: If I use only the method ModLoader.registerEntityID(...) and spawn the entity ingame, I can hear them, but I can't see them. Also I cannot kill them, except they manage to kill themselves (e.g. lava / falling sand). If they die, sometimes I get this error: So I searched in the forge code and found this method: EntityRegistry.registerModEntity(CSM_EntityClayMan.class, "CSM_EntityClayMan", 0, this, 64, 1, true); If I use this method and spawn the entity in a new world, I got an error which says "Disconnected by Server: Internal Server error" with no detailed information. If I try to open that world again, it crashes with following error: So apparently I'm doing something wrong, but I can't figure out what. This is how my mod_ class looks like now: BTW: all the entities are basically extending EntityCreature. I hope you can help me with that. Thanks in advance.
  5. You have to use both methods
  6. Indeed, I've not tried this out and now it works I thought that only ModLoadeMP isn't needed anymore. Does this also apply to the client version, so I don't need ModLoader for playing with MC Forge mods? Anyway, Thank you very much ^^ SanAndreasP
  7. Hello, I have to post issues with the decompilation process from MCP with Minecraft Forge. Every time I try to decompile Minecraft with MCP in combination with MC Forge, I get this error: What I've done: downloaded new MCP downloaded newest ModLoader downloaded fresh minecraft.jar downloaded newest Minecraft Forge Source What I've tried: used the recommented build of MCForge (3.2.5.120) used the latest build (3.2.5.125) used Java JRE / JDK 6u27 used Java JRE / JDK 6u32 used Java JRE / JDK 7u04 deleted META_INF didn't deleted META_INF used an older build (3.2.3) with a lot more errors (69 and more) My System: Windows 7 Home Premium x64 installed Java: JRE 7u04, both 32bit and 64bit JDK 7u04 64bit In eclipse I get, besides this one, 24 more errors. Here the files which have errors: WorldType.java (17 errors) NetClientHandler.java (6 errors) RenderBlocks.java (2 errors, one mentioned above) If it's necessary, I can post code snippets of these errors. Also if there are more infos necessary, I'll post them, too. Is this a known problem, is there a fix for this or do I have to solve these problems for myself? Thanks in advance, SanAndreasP
×
×
  • Create New...

Important Information

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