When a player hits a block the block changes texture, the texture shows the gradual breaking of the block.
But when the player stops punching the block, then the block turns to its original pristine (no damage) state.
Is this change in texture based on some EntityPlayer method?
i've been experimenting on the method isSwinging, would that define that the player is punching?
OR is there another method (within EntityPlayer.class or Other Classes) that shows/gives such function
Thanks
Latest News Article
Minecraft Monday Show - Let's Play Killers & Great Downloads!
This week, BebopVox covers the recent drama with "Let's Play" videos (including Mojang's stance on the matter), and much more!...
Minecraft Video Trailer: "Relapse"
Looking for a sci-fi adventure set inside Minecraft? fngnation is, and can't wait to release this awesome space-opera thriller, called "Relapse"! While this is just a trailer of the upcoming movie, it's definitely worth a watch, so ...
Minecraft Parody: "Grieferman"
Most of you have seen Psy's recent new song, "Gentleman". It's not too often that I run across a parody that's better than the original, but StageFiveTV's parody, "Grieferman", definitely nailed it! Clever lyrics, ...
[Quick Question] on EntityPlayer Methods
Started by
dustminerkid
, Sep 16 2011 07:06 AM
4 replies to this topic
#2
Posted 16 September 2011 - 07:43 AM
i believe it does the animation change in the setDamage() method i think.. I dont really know
..or the onDamage()..
..or the onDamage()..
clicky the + button :3
#3
Posted 16 September 2011 - 09:06 AM
hello there, thanks for the reply
where could i find this methods?
Block.class
EntityPlayer.Class
EntityLiving.class
where could i find this methods?
Block.class
EntityPlayer.Class
EntityLiving.class
Check out my new Mod
link: The Dragon Ball Mod Alpha 1.1
link: The Dragon Ball Mod Alpha 1.1
#5
Posted 16 September 2011 - 11:55 AM
Upon Checking the RenderBlock i couldn't find any connection to Damage done by player, that will change its texture to the block-damage form
So i may still need suggestions on this
thanks for the people above
So i may still need suggestions on this
thanks for the people above
Check out my new Mod
link: The Dragon Ball Mod Alpha 1.1
link: The Dragon Ball Mod Alpha 1.1










