Jump to content

blfngl

Members
  • Posts

    87
  • Joined

  • Last visited

Everything posted by blfngl

  1. Error Report: Item: How the item is called in main class: One of the items in my mod, if it's in your hand and you right click, will give you a potion effect and then spawn this item in your hand while removing itself. This has always worked but after I changed something it's not working. Help?
  2. So what I did was I removed everything except the energy cell coding and registered it properly, but the name still won't show up, any more suggestions?
  3. Here it is, as a side note it's currently being update from 1.6.4 so there are a lot of things commented out:
  4. It's in the correct encoding. Here's my file system: http://imgur.com/laGLuHI
  5. Yep, it still doesn't work Side note: I've refreshed and rebuilt my workspace multiple times yet it still won't work.
  6. My modid is set up correctly (my textures load properly) and my language file is located in the correct spot. My lang file so far:
  7. Unfortunately, that still doesn't work
  8. Just for clarification, my items made it in but the language didn't, and after trying the suggestions it's still not working. My main file now looks like:
  9. Thank you for all the help so far! But alas, none of those ideas seemed to work. My new en_US.lang file now looks like My main file doesn't initialize the item, a file called ItemHandler does: My main file:
  10. I posted a topic about this earlier, but now it's broken again. I can't seem to get my item names to appear in game. Item Registration: en_US.lang:
  11. Solved, all I had to do was refresh my project.
  12. I've created a language file, named en_US.lang, for all of my items and blocks and dropped it in /assets/modname/lang but it's not naming the items. My format for the file is: item.lol.name=Lol tile.Lold.name=Lol Do I need to link the lang file to my mod in the mainfile.java?
  13. I've added the item properly, I believe, but it just won't show up in any tab I've made or the default ones. Main Class: Item Class: Thanks for your time
  14. The !isRemote would be my first guess. I was testing it and apparently the rounds value isn't changing properly...any ideas? In both client and server? It's acting very strangely. When I remove the !var2.isRemote completely, when firing on a server the rounds variable never changes and on the client no audio plays. If the !var2.isRemote is there, then nothing happens on the server but the item works perfectly in SSP. If it's var2.isRemote instead, no audio is played on the client and the audio spazzes out on the server.
  15. The !isRemote would be my first guess. I was testing it and apparently the rounds value isn't changing properly...any ideas?
  16. I tried removing them and got the same result
  17. Hi all, Today I pose an interesting problem. I've written up some code for a gun and on SSP it works flawlessly. But for some reason, when using it in SMP the onItemRightClick and onUpdate methods don't go threw and the item doesn't work. Any ideas? There isn't an error, it just doesn't work.
  18. I don't think that would work, mainly because of what the entity looks like. If you've played skyrim, it pretty much looks like a fus, a circle of blue redstone dust particles. Also, the spawn happens in the onUpdate() method, where there is no world parameter.
  19. I put em in. About the NPE, it seems that it's being caused by a vanilla mob, none of my classes are mentioned.
  20. Hello, I've come up with a projectile-like entity that will fire in the direction that the player is facing. When fired, it travels perfectly normally but about a half second to two seconds later minecraft crashes. EntityShout How it's called The error: Entity Registration: EntityRegistry.registerGlobalEntityID(EntityShout.class, "EntityShout", EntityRegistry.findGlobalUniqueEntityId()); FML Log:
  21. Line 249: if (var3.entityHit.attackEntityFrom(new EntityDamageSource("player", this.owner), this.damage))
  22. Sorry, that's what I meant :3 But the error:
  23. Hello, Would someone please tell me how to add a damage source to an entity? Whenever this entity kills someone on a server it crashes because it can't return a damage source. onCollideWithPlayer method:
×
×
  • Create New...

Important Information

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