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_326498_, BlockGetter p_326469_, BlockPos p_326029_, BlockState p_325970_, FluidState p_326399_) boolean
shouldDamageEntity
(Explosion p_326467_, Entity p_326284_) 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_326498_, BlockGetter p_326469_, BlockPos p_326029_, BlockState p_325970_, FluidState p_326399_) - Overrides:
getBlockExplosionResistance
in classExplosionDamageCalculator
-