Sign in to follow this  
TheMacGregor

Bdew's No Damage mod

Recommended Posts

This would be a great mod if there were a way to control what does not decay and/or how fast things will decay. For instance remove decay from buildings but keep it turned on for other things. Or reduce decay for carts by 50%. 

 

Is this the line that controls the decay?

cls.getMethod("setDamage", "(F)Z").insertBefore("if($1<100f) $1 = 0f;")

 

If it is then would changing the $1=0f to some other number for instance $1=10f be possible? I have never used Java nor can I compile it because I don't have the knowledge nor the time. 

 

Edited by TheMacGregor

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this