Class AbstractWindCharge.WindChargeDamageCalculator
java.lang.Object
net.minecraft.world.level.ExplosionDamageCalculator
net.minecraft.world.entity.projectile.windcharge.AbstractWindCharge.WindChargeDamageCalculator
- Direct Known Subclasses:
WindBurstEnchantment.WindBurstEnchantmentDamageCalculator
,WindCharge.WindChargePlayerDamageCalculator
- Enclosing class:
AbstractWindCharge
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBlockExplosionResistance
(Explosion p_335115_, BlockGetter p_329011_, BlockPos p_330601_, BlockState p_331417_, FluidState p_330040_) boolean
shouldDamageEntity
(Explosion p_329716_, Entity p_327996_) Methods inherited from class net.minecraft.world.level.ExplosionDamageCalculator
getEntityDamageAmount, getKnockbackMultiplier, shouldBlockExplode
-
Constructor Details
-
WindChargeDamageCalculator
public WindChargeDamageCalculator()
-
-
Method Details
-
shouldDamageEntity
- Overrides:
shouldDamageEntity
in classExplosionDamageCalculator
-
getBlockExplosionResistance
public Optional<Float> getBlockExplosionResistance(Explosion p_335115_, BlockGetter p_329011_, BlockPos p_330601_, BlockState p_331417_, FluidState p_330040_) - Overrides:
getBlockExplosionResistance
in classExplosionDamageCalculator
-