Class ExplosionHooks

java.lang.Object
me.shedaniel.architectury.hooks.ExplosionHooks

public final class ExplosionHooks extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.phys.Vec3
    getPosition(net.minecraft.world.level.Explosion explosion)
     
    static float
    getRadius(net.minecraft.world.level.Explosion explosion)
    Deprecated.
    Use the field directly.
    static @Nullable net.minecraft.world.entity.Entity
    getSource(net.minecraft.world.level.Explosion explosion)
    Deprecated.
    Use the field directly.
    static void
    setRadius(net.minecraft.world.level.Explosion explosion, float radius)
    Deprecated.
    Use the field directly.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getPosition

      public static net.minecraft.world.phys.Vec3 getPosition(net.minecraft.world.level.Explosion explosion)
    • getSource

      @Nullable @Deprecated @ScheduledForRemoval public static @Nullable net.minecraft.world.entity.Entity getSource(net.minecraft.world.level.Explosion explosion)
      Deprecated.
      Use the field directly.
    • getRadius

      @Deprecated @ScheduledForRemoval public static float getRadius(net.minecraft.world.level.Explosion explosion)
      Deprecated.
      Use the field directly.
    • setRadius

      @Deprecated @ScheduledForRemoval public static void setRadius(net.minecraft.world.level.Explosion explosion, float radius)
      Deprecated.
      Use the field directly.