net.minecraft.world.level

public class SimpleExplosionDamageCalculator

extends ExplosionDamageCalculator

dhc
net.minecraft.world.level.SimpleExplosionDamageCalculator
net.minecraft.class_9749
net.minecraft.world.explosion.AdvancedExplosionBehavior
net.minecraft.world.level.SimpleExplosionDamageCalculator

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public Optional<Float>
a(dgb arg0, dfo arg1, ji arg2, dwy arg3, eta 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)
public boolean
a(dgb arg0, dfo arg1, ji arg2, dwy 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)
public boolean
a(dgb arg0, bum arg1)
shouldDamageEntity(Explosion arg0, Entity arg1)
method_55504(class_1927 arg0, class_1297 arg1)
shouldDamage(Explosion arg0, Entity arg1)
public float
a(bum arg0)
getKnockbackMultiplier(Entity arg0)
method_57007(class_1297 arg0)
getKnockbackModifier(Entity arg0)