Jump to content

Recommended Posts

Posted

CLOSED: I found the bouncing weapon bug issue. I can hopefully fix it. I think its an NBTTag change that resets the weapon position or something.

 

I have made my own custom attack speed system that limits the speed at which you can attack mobs (no more click-spam)

I created this system so i can implement new weapon types. It has gone very well so far!

 

(I have done this with NBTTags: canAttack, attackSpeed, and coundtUp. When countUp is more than attackSpeed, canAttack enables, and causes the onLeftClickEntity to return false, instead of true which causes the weapon to not attack.)

 

But my issue is that I would like to also change the animation speed of swinging weapon. It has this hopping animation bug when unable to attack, that I'm hoping will be hidden if the attack speed could be slowed down.

 

Another thing which isnt as important right now is extending the reach of a weapon, or lowering the reach. if thats possible.

 

EDIT: I'm hoping to find a solution without using the Haste or MiningFatigue potion effects to simulate animation speed

Posted

The "bouncing weapon" issue has been resolved a long time ago, read this thread for more info:

 

http://www.minecraftforge.net/forum/index.php/topic,30937.0.html

 

It certainly is possible to modify the reach of your weapons, here's an article I found that talks about it:

 

http://jabelarminecraft.blogspot.de/p/minecraft-modding-extending-reach-of.html

 

Concerning the mining animation speed, I would not know how to go about changing that, however I don't think it should be too big of a problem figuring out. Read the content of the articles pointed to by the links above and let me know if that has helped answer your questions, after you get those things done and still don't know how to handle the animation speed; I promise to take a closer look at it.

I still haven't published a mod because I can never get that in-dev version just right to warrant a public release. And yes, after two years of mod development I am still learning to speak Java.

 

Follow me on GitHub: https://github.com/yooksi

Contact me on Twitter: https://twitter.com/yooksi

Read my Minecraft blog: https://yooksidoesminecraft.blogspot.de/

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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