5HT2 / vasya

it's vasya, what more would you want to know
https://vasya.dominikaaaa.org
Other
9 stars 1 forks source link

Be consistent with events #1

Open zeroeightysix opened 4 years ago

zeroeightysix commented 4 years ago

Many utility mods walk into the pitfall of first defining onEnable, onUpdate, etc methods, and then tossing an event system on top of that (while toggling, updates, etc, are all valid events!).

I advise you don't from the start - just use events for everything.

5HT2 commented 4 years ago

Yea, I was definitely planning on using events where possible. A common downfall with Blue is that it uses onUpdate for practically everything, even when it isn't needed.