Class ExplosionUtils
java.lang.Object
me.emafire003.dev.ohmymeteors.util.ExplosionUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.util.random.WeightedList<net.minecraft.core.particles.ExplosionParticleInfo> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateExplosion(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 voidcreateExplosion(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 voidcreateExplosion(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 voidcreateExplosion(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 voidcreateExplosion(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)
-
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)
-