Adding client-side and server-side interactions. Also adds purpur/paper support

This commit is contained in:
Dmitri Shimanski
2026-07-20 05:41:57 +03:00
parent fbe4d786ca
commit ce93e99962
71 changed files with 5068 additions and 279 deletions
+6
View File
@@ -12,6 +12,12 @@ type TickHandler interface {
Tick(context *Context, snapshot ServerSnapshot) error
}
// ClientTickHandler is invoked only by a client native runtime. A plugin with
// environment "both" may implement TickHandler, ClientTickHandler, or both.
type ClientTickHandler interface {
ClientTick(context *Context, event ClientTickEvent) error
}
type ChatHandler interface {
Chat(context *Context, event ChatEvent) error
}