net.minecraft.world.level

public class ExplosionDamageCalculator

dhb
net.minecraft.world.level.ExplosionDamageCalculator
net.minecraft.class_5362
net.minecraft.world.explosion.ExplosionBehavior
net.minecraft.world.level.ExplosionDamageCalculator

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Optional<Float>
a(dha arg0, dgn arg1, jh arg2, dxv arg3, etx arg4)
getBlockExplosionResistance(Explosion arg0, BlockGetter arg1, BlockPos arg2, BlockState arg3, FluidState arg4)
method_29555(class_1927 arg0, class_1922 arg1, class_2338 arg2, class_2680 arg3, class_3610 arg4)
getBlastResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState)
public boolean
a(dha arg0, dgn arg1, jh arg2, dxv arg3, float arg4)
shouldBlockExplode(Explosion arg0, BlockGetter arg1, BlockPos arg2, BlockState arg3, float arg4)
method_29554(class_1927 arg0, class_1922 arg1, class_2338 arg2, class_2680 arg3, float arg4)
canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power)
public boolean
a(dha arg0, bvk arg1)
shouldDamageEntity(Explosion arg0, Entity arg1)
method_55504(class_1927 arg0, class_1297 arg1)
shouldDamage(Explosion explosion, Entity entity)
public float
a(bvk arg0)
getKnockbackMultiplier(Entity arg0)
method_57007(class_1297 arg0)
getKnockbackModifier(Entity entity)
public float
a(dha arg0, bvk arg1, float arg2)
getEntityDamageAmount(Explosion arg0, Entity arg1, float arg2)
method_55115(class_1927 arg0, class_1297 arg1, float arg2)
calculateDamage(Explosion explosion, Entity entity, float amount)