gnembon / fabric-carpet

Fabric Carpet
MIT License
1.73k stars 275 forks source link

Add ability to handle game events with... scarpet game events. #602

Open gnembon opened 3 years ago

gnembon commented 3 years ago

one with skulk sensor

gnembon commented 3 years ago

Ok, will wait on that since mappings are in a terrible state around game events and the skulk sensi

Ghoulboy78 commented 3 years ago

nice skulk sensi

Ghoulboy78 commented 3 years ago

yo @gnembon would this mean that instead of __on_stuff_happen(args)->function; event, you would have handle_event('stuff_happen','whatever_function', args);? I personally wouldnt mind either, both seem like valid solutions to me tbh, tho ig in my reimplementation of scarpet (in 1.12 that is) I would like to implement the latter as opposed to the former.

altrisi commented 3 years ago

No, (although I would also prefer explicit declaration), I think this means handling the events that the skulk sensor can detect with Scarpet. Wait nvm I can't read, I guess yes skulk sensor events would use handle_event for simplicity, or something similar, like entity events.