Class ExplosionUtils

java.lang.Object
me.emafire003.dev.ohmymeteors.util.ExplosionUtils

public class ExplosionUtils extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.util.random.WeightedList<net.minecraft.core.particles.ExplosionParticleInfo>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    createExplosion(net.minecraft.server.level.ServerLevel world, @Nullable net.minecraft.world.entity.Entity entity, double x, double y, double z, float power, boolean createFire, net.minecraft.world.level.Level.ExplosionInteraction explosionSourceType)
     
    static void
    createExplosion(net.minecraft.server.level.ServerLevel world, @Nullable net.minecraft.world.entity.Entity entity, double x, double y, double z, float power, net.minecraft.world.level.Level.ExplosionInteraction explosionSourceType)
     
    static void
    createExplosion(net.minecraft.server.level.ServerLevel world, @Nullable net.minecraft.world.entity.Entity entity, @Nullable net.minecraft.world.damagesource.DamageSource damageSource, @Nullable net.minecraft.world.level.ExplosionDamageCalculator behavior, double x, double y, double z, float power, boolean createFire, net.minecraft.world.level.Level.ExplosionInteraction explosionSourceType)
     
    static void
    createExplosion(net.minecraft.server.level.ServerLevel world, @Nullable net.minecraft.world.entity.Entity entity, @Nullable net.minecraft.world.damagesource.DamageSource damageSource, @Nullable net.minecraft.world.level.ExplosionDamageCalculator behavior, double x, double y, double z, float power, boolean createFire, net.minecraft.world.level.Level.ExplosionInteraction explosionSourceType, net.minecraft.core.particles.ParticleOptions smallParticle, net.minecraft.core.particles.ParticleOptions largeParticle, net.minecraft.util.random.WeightedList<net.minecraft.core.particles.ExplosionParticleInfo> blockParticles, net.minecraft.core.Holder<net.minecraft.sounds.SoundEvent> soundEvent)
     
    static void
    createExplosion(net.minecraft.server.level.ServerLevel world, @Nullable net.minecraft.world.entity.Entity entity, @Nullable net.minecraft.world.damagesource.DamageSource damageSource, @Nullable net.minecraft.world.level.ExplosionDamageCalculator behavior, net.minecraft.world.phys.Vec3 pos, float power, boolean createFire, net.minecraft.world.level.Level.ExplosionInteraction explosionSourceType)
     

    Methods inherited from class Object

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

    • EXPLOSION_BLOCK_PARTICLES

      public static final net.minecraft.util.random.WeightedList<net.minecraft.core.particles.ExplosionParticleInfo> EXPLOSION_BLOCK_PARTICLES
  • Constructor Details

    • ExplosionUtils

      public ExplosionUtils()
  • Method Details

    • createExplosion

      public static void createExplosion(net.minecraft.server.level.ServerLevel world, @Nullable @Nullable net.minecraft.world.entity.Entity entity, double x, double y, double z, float power, net.minecraft.world.level.Level.ExplosionInteraction explosionSourceType)
    • createExplosion

      public static void createExplosion(net.minecraft.server.level.ServerLevel world, @Nullable @Nullable net.minecraft.world.entity.Entity entity, double x, double y, double z, float power, boolean createFire, net.minecraft.world.level.Level.ExplosionInteraction explosionSourceType)
    • createExplosion

      public static void createExplosion(net.minecraft.server.level.ServerLevel world, @Nullable @Nullable net.minecraft.world.entity.Entity entity, @Nullable @Nullable net.minecraft.world.damagesource.DamageSource damageSource, @Nullable @Nullable net.minecraft.world.level.ExplosionDamageCalculator behavior, net.minecraft.world.phys.Vec3 pos, float power, boolean createFire, net.minecraft.world.level.Level.ExplosionInteraction explosionSourceType)
    • createExplosion

      public static void createExplosion(net.minecraft.server.level.ServerLevel world, @Nullable @Nullable net.minecraft.world.entity.Entity entity, @Nullable @Nullable net.minecraft.world.damagesource.DamageSource damageSource, @Nullable @Nullable net.minecraft.world.level.ExplosionDamageCalculator behavior, double x, double y, double z, float power, boolean createFire, net.minecraft.world.level.Level.ExplosionInteraction explosionSourceType)
    • createExplosion

      public static void createExplosion(net.minecraft.server.level.ServerLevel world, @Nullable @Nullable net.minecraft.world.entity.Entity entity, @Nullable @Nullable net.minecraft.world.damagesource.DamageSource damageSource, @Nullable @Nullable net.minecraft.world.level.ExplosionDamageCalculator behavior, double x, double y, double z, float power, boolean createFire, net.minecraft.world.level.Level.ExplosionInteraction explosionSourceType, net.minecraft.core.particles.ParticleOptions smallParticle, net.minecraft.core.particles.ParticleOptions largeParticle, net.minecraft.util.random.WeightedList<net.minecraft.core.particles.ExplosionParticleInfo> blockParticles, net.minecraft.core.Holder<net.minecraft.sounds.SoundEvent> soundEvent)