Package net.minecraft.world.level
Class EntityBasedExplosionDamageCalculator
java.lang.Object
net.minecraft.world.level.ExplosionDamageCalculator
net.minecraft.world.level.EntityBasedExplosionDamageCalculator
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBlockExplosionResistance
(Explosion p_45902_, BlockGetter p_45903_, BlockPos p_45904_, BlockState p_45905_, FluidState p_45906_) boolean
shouldBlockExplode
(Explosion p_45896_, BlockGetter p_45897_, BlockPos p_45898_, BlockState p_45899_, float p_45900_)
-
Field Details
-
source
-
-
Constructor Details
-
EntityBasedExplosionDamageCalculator
-
-
Method Details
-
getBlockExplosionResistance
public Optional<Float> getBlockExplosionResistance(Explosion p_45902_, BlockGetter p_45903_, BlockPos p_45904_, BlockState p_45905_, FluidState p_45906_) - Overrides:
getBlockExplosionResistance
in classExplosionDamageCalculator
-
shouldBlockExplode
public boolean shouldBlockExplode(Explosion p_45896_, BlockGetter p_45897_, BlockPos p_45898_, BlockState p_45899_, float p_45900_) - Overrides:
shouldBlockExplode
in classExplosionDamageCalculator
-