net.minecraft.world.level

public class SimpleExplosionDamageCalculator

extends ExplosionDamageCalculator

ddn
net.minecraft.world.level.SimpleExplosionDamageCalculator
net.minecraft.class_9749
net.minecraft.world.explosion.AdvancedExplosionBehavior
net.minecraft.src.C_336585_
net.minecraft.world.level.SimpleExplosionDamageCalculator

Field summary

Modifier and TypeField
private final boolean
a
explodesBlocks
field_51782
destroyBlocks
f_337484_
private final boolean
b
damagesEntities
field_51783
damageEntities
f_337454_
private final Optional<Float>
c
knockbackMultiplier
field_51784
knockbackModifier
f_336802_
private final Optional<HolderSet<Block>>
d
immuneBlocks
field_51785
immuneBlocks
f_337097_

Constructor summary

ModifierConstructor
public (boolean destroyBlocks, boolean damageEntities, Optional<Float> knockbackModifier, Optional<HolderSet<Block>> immuneBlocks)

Method summary

Modifier and TypeMethod
public Optional<Float>
a(dco arg0, dcc arg1, jd arg2, dtc arg3, epe 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 arg0, BlockView arg1, BlockPos arg2, BlockState arg3, FluidState arg4)
m_6617_(C_1578_ p_342364_, C_1559_ p_342845_, C_4675_ p_343076_, C_2064_ p_343209_, C_2691_ arg4)
public boolean
a(dco arg0, dcc arg1, jd arg2, dtc 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 arg0, BlockView arg1, BlockPos arg2, BlockState arg3, float arg4)
m_6714_(C_1578_ p_344794_, C_1559_ p_343238_, C_4675_ p_345107_, C_2064_ p_343990_, float arg4)
public boolean
a(dco arg0, bsr arg1)
shouldDamageEntity(Explosion arg0, Entity arg1)
method_55504(class_1927 arg0, class_1297 arg1)
shouldDamage(Explosion arg0, Entity arg1)
m_304921_(C_1578_ p_345509_, C_507_ arg1)
public float
a(bsr arg0)
getKnockbackMultiplier(Entity arg0)
method_57007(class_1297 arg0)
getKnockbackModifier(Entity arg0)
m_322916_(C_507_ arg0)