keplersj / BoatCraft

Rails had their turn, now out to the Minecraftian seas.
MIT License
6 stars 7 forks source link

Add support for reinforced and (more) fragile boats #193

Closed viliml closed 10 years ago

viliml commented 10 years ago

I think it could be done simply with a getStrength method in Material, and the Boat class would override the methods that destroy the boat to take it into account.

keplersj commented 10 years ago

i like it. would the update just check the strength and current durability to determine a crash?

viliml commented 10 years ago

Yes. Unfortunately I ran into some privacy problems with the method, so it won't work the way I want it to. BUT, I could be able to make a PR to forge that adds a simple Event that solves all our problems :smile:

keplersj commented 10 years ago

That sounds like fun. I'll leave you to it. :smile: