Package me.shedaniel.architectury.hooks
Class ExplosionHooks
java.lang.Object
me.shedaniel.architectury.hooks.ExplosionHooks
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
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.
-