Everything posted by blfngl
-
[Solved][1.7.2]Game Crash When Adding Items to Player's Inventory
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?
-
Can't link en_US.lang to my mod
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?
-
Can't link en_US.lang to my mod
Didn't I do that?
-
Can't link en_US.lang to my mod
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:
-
Can't link en_US.lang to my mod
It's in the correct encoding. Here's my file system: http://imgur.com/laGLuHI
-
Can't link en_US.lang to my mod
Yep, it still doesn't work Side note: I've refreshed and rebuilt my workspace multiple times yet it still won't work.
-
Can't link en_US.lang to my mod
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:
-
Can't link en_US.lang to my mod
Unfortunately, that still doesn't work
-
Can't link en_US.lang to my mod
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:
-
Can't link en_US.lang to my mod
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:
-
Can't link en_US.lang to my mod
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:
-
[Solved]Can't link en_US.lang to my mod
Solved, all I had to do was refresh my project.
-
[Solved]Can't link en_US.lang to my mod
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?
-
[1.7.2]Item Won't Appear In-Game
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
-
Server Preventing Right Click
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.
-
Server Preventing Right Click
The !isRemote would be my first guess. I was testing it and apparently the rounds value isn't changing properly...any ideas?
-
Server Preventing Right Click
I tried removing them and got the same result
-
Server Preventing Right Click
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.
-
Ticking Entity error
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.
-
Ticking Entity error
I put em in. About the NPE, it seems that it's being caused by a vanilla mob, none of my classes are mentioned.
-
Ticking Entity error
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:
-
How to add damage source?
Here's the whole thing:
-
How to add damage source?
Line 249: if (var3.entityHit.attackEntityFrom(new EntityDamageSource("player", this.owner), this.damage))
-
How to add damage source?
Sorry, that's what I meant :3 But the error:
-
How to add damage source?
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:
IPS spam blocked by CleanTalk.