use of me.wallhacks.spark.event.player.EntityAddEvent in project Spark-Client by Spark-Client-Development.
the class MixinWorld method onEntityAdded.
@Inject(method = "onEntityAdded", at = @At("HEAD"), cancellable = true)
public void onEntityAdded(Entity entityIn, final CallbackInfo info) {
EntityAddEvent event = new EntityAddEvent(entityIn);
Spark.eventBus.post(event);
}
Aggregations