Events are defined statically in normal classes and added handler for extensions to add their built-ins
This commit is contained in:
1 parent
815c75b827
commit
3105d5bb71
11 files changed
+126
-113
No files matched your search
@@ -23,6 +23,6 @@ public abstract class FallingBlockEntity_scarpetEventsMixin extends Entity
|
||||
private void onTickCall(CallbackInfo ci)
|
||||
{
|
||||
// calling extra on_tick because falling blocks do not fall back to super tick call
|
||||
((EntityInterface)this).getEventContainer().onEvent(EntityEventsGroup.EntityEventType.ON_TICK);
|
||||
((EntityInterface)this).getEventContainer().onEvent(EntityEventsGroup.Event.ON_TICK);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user