keplersj / BoatCraft

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

Introduce Reactants. #191

Closed keplersj closed 10 years ago

keplersj commented 10 years ago

Reactants will be items and blocks that react with boat in certain ways when they are right clicked on the boat.

viliml commented 10 years ago

Modifiers have an "interact" method. Can't we simply use that without any further modifications?

keplersj commented 10 years ago

I mean this in a general sense. Allowing for items to define if something should happen to a boat when it updates and the player right clicks on a boat with the item.

keplersj commented 10 years ago

Custom updates regardless of modifier.

viliml commented 10 years ago

Well, it can all be handled in the interact method in EntityCustomBoat, and if addons(oh it will take a while until someone makes an addon for this...) add something new, they can just use EntityInteractEvent. Like I did here. Really no need for any new construct. Or did you have something else in mind?

keplersj commented 10 years ago

I completely forgot about EntityInteractEvent!