Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited


  • Gender
  • Personal Text
    I am new!

david476's Achievements

Creeper Killer

Creeper Killer (4/8)



  1. I tried implementing the code in entity's setPosition that deals with the bounding box to no effect.
  2. 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.
  3. 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 .
  4. 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.
  5. Could you send us the new code, it makes it a lot easier!
  6. Add an println to the onUpdate method to make sure it is spawning right (make sure to call super!). Can we see spawning code?
  7. Look into entities, items, the vanilla bow and arrow, and check the forge wiki for a gun tutorial (I think I remember seeing one).
  8. 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.
  9. Some possible causes: Did you register it, is it just not rendering, are the coords in the right spot (println them before spawning)?
  10. Well if you are making you're own animation you can just disable the vanilla one instead on undoing it.
  11. Spawn the entity after you change all the variables. Make sure it only spawns serverside with if (!player.worldObj.isRemote).
  12. Really not sure. You could always recreate the animation yourself.
  13. 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?
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.