
david476
Members-
Content Count
238 -
Joined
-
Last visited
Community Reputation
10 GoodAbout david476
-
Rank
Creeper Killer
Converted
-
Gender
Undisclosed
-
Personal Text
I am new!
-
I tried implementing the code in entity's setPosition that deals with the bounding box to no effect.
-
I have a entity whose bounding box seems to mess up when it moves. Colliding with it make you "bounce" (client doesn't collide when server does) and I can't right click it. Restarting fixes it until it moves again. Is there some kins of update method to call? Let me know if code would help! Note: I am manually setting the position with datawatchers.
-
Gotcha! Any problems jetfan?
-
Diesieben, could you expand what you said, I at least claim to not to be a java novice and am not sure what you meant. Also, if I am understanding your lack of spelling, you really should not be insulting diesieben's attempt to help. He knows more about forge modding than anyone except maybe for people like Lex himself! Let's all just try to figure out what the problem is, ok? Could you give us all the related classes (entities, etc...) as well as a log in case it says anything? I'm not seeing anywhere that you register a texture for the snowball renderer. How does that work exactly? Correct me if I'm wrong, but it seems like you are registering an entity renderer for an item. Finally, your indenting and class definition next to an import make it hard to read and understand, could you clean it up? Note, I'm not at a workspace so I apologize for any stupid mistakes I made .
-
[1.7.10] [Not Resolved] Entity Rendering Not Working.
david476 replied to Awesome_Spider's topic in Modder Support
The onUpdate method is called each tick (look at Entity class). The println was to check it was spawning correctly, you might want to make it print (this.worldObj.isRemote + ", " + this) to see the entity and which world it is in. Give us what that outputs and updated code when you implement it. -
[1.7.10] RenderPlayerEvent when rendering multiple players
david476 replied to Eternaldoom's topic in Modder Support
Could you send us the new code, it makes it a lot easier! -
[1.7.10] [Not Resolved] Entity Rendering Not Working.
david476 replied to Awesome_Spider's topic in Modder Support
Add an println to the onUpdate method to make sure it is spawning right (make sure to call super!). Can we see spawning code? -
Look into entities, items, the vanilla bow and arrow, and check the forge wiki for a gun tutorial (I think I remember seeing one).
-
Right click event that triggers after block interaction
david476 replied to StrangeOne101's topic in Modder Support
Hope you aren't the person I helped on the irc, and if not, I may have a solution. If you want to check if a block does something on right click, you can just see if it is overridden from the vanilla one with reflection, I'll get the specific code to you soon, not at a workspace. -
Some possible causes: Did you register it, is it just not rendering, are the coords in the right spot (println them before spawning)?
-
Well if you are making you're own animation you can just disable the vanilla one instead on undoing it.
-
Spawn the entity after you change all the variables. Make sure it only spawns serverside with if (!player.worldObj.isRemote).
-
Really not sure. You could always recreate the animation yourself.
-
Not too familiar with armor, but there has to be more than just one class (registration, rendering, etc...). Does it render with null texture or not at all? Could you post these classes and a log in case there are any errors that could lead to a solution?