mirror of
https://github.com/architectury/architectury-api.git
synced 2026-04-02 05:27:42 -05:00
Fix ExplosionEvent.DETONATE
Signed-off-by: shedaniel <daniel@shedaniel.me>
This commit is contained in:
@@ -47,8 +47,8 @@ public class MixinExplosion implements ExplosionHooksImpl.ExplosionExtensions {
|
||||
@Unique Vec3 position;
|
||||
|
||||
@Inject(method = "explode", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/phys/Vec3;<init>(DDD)V", ordinal = 0),
|
||||
locals = LocalCapture.PRINT)
|
||||
private void explodePost(CallbackInfo ci, Set<BlockPos> set, float q, int r, int s, int t, int u, int v, int w, List<Entity> list) {
|
||||
locals = LocalCapture.CAPTURE_FAILHARD)
|
||||
private void explodePost(CallbackInfo ci, Set<BlockPos> set, int i, float q, int r, int s, int t, int u, int v, int w, List<Entity> list) {
|
||||
ExplosionEvent.DETONATE.invoker().explode(level, (Explosion) (Object) this, list);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user