net.minecraft.world.explosion

public class ExplosionImpl

implements Explosion

net.minecraft.world.level.ServerExplosion
net.minecraft.class_9892
net.minecraft.world.explosion.ExplosionImpl

Field summary

Modifier and TypeField
private static final ExplosionBehavior
EXPLOSION_DAMAGE_CALCULATOR
field_52617
DEFAULT_BEHAVIOR
private static final int
MAX_DROPS_PER_COMBINED_STACK
field_52618
field_52618
private static final float
LARGE_EXPLOSION_RADIUS
field_52619
field_52619
private final boolean
fire
field_52620
createFire
private final Explosion$DestructionType
blockInteraction
field_52621
destructionType
private final ServerWorld
level
field_52622
world
private final Vec3d
center
field_52623
pos
private final Entity
source
field_52624
entity
private final float
radius
field_52625
power
private final DamageSource
damageSource
field_52626
damageSource
private final ExplosionBehavior
damageCalculator
field_52627
behavior
private final Map<PlayerEntity, Vec3d>
hitPlayers
field_52628
knockbackByPlayer

Constructor summary

ModifierConstructor
public (ServerWorld world, Entity entity, DamageSource damageSource, ExplosionBehavior behavior, Vec3d pos, float power, boolean createFire, Explosion$DestructionType destructionType)

Method summary

Modifier and TypeMethod
private ExplosionBehavior
makeDamageCalculator(Entity source)
method_61734(class_1297 arg0)
makeBehavior(Entity entity)
public static float
getSeenPercent(Vec3 center, Entity entity)
method_61731(class_243 arg0, class_1297 arg1)
calculateReceivedDamage(Vec3d pos, Entity entity)
public float
radius()
method_55107()
getPower()
public Vec3d
center()
method_55109()
getPosition()
private List<BlockPos>
calculateExplodedPositions()
method_61740()
getBlocksToDestroy()
private void
hurtEntities()
method_61741()
damageEntities()
private void
interactWithBlocks(List<BlockPos> targetBlocks)
method_61732(List<class_2338> arg0)
destroyBlocks(List<BlockPos> positions)
private void
createFire(List<BlockPos> targetBlocks)
method_61735(List<class_2338> arg0)
createFire(List<BlockPos> positions)
public int
explode()
method_61737()
explode()
private static void
addOrAppendStack(List<ServerExplosion$StackCollector> stacks, ItemStack stack, BlockPos pos)
method_61733(List<class_9892$class_9893> arg0, class_1799 arg1, class_2338 arg2)
addDroppedItem(List<ExplosionImpl$DroppedItem> droppedItemsOut, ItemStack item, BlockPos pos)
private boolean
interactsWithBlocks()
method_61742()
shouldDestroyBlocks()
public Map<PlayerEntity, Vec3d>
getHitPlayers()
method_61738()
getKnockbackByPlayer()
public ServerWorld
level()
method_64504()
getWorld()
public LivingEntity
getIndirectSourceEntity()
method_8347()
getCausingEntity()
public Entity
getDirectSourceEntity()
method_46406()
getEntity()
public DamageSource
getDamageSource()
method_65132()
getDamageSource()
public Explosion$DestructionType
getBlockInteraction()
method_55111()
getDestructionType()
public boolean
canTriggerBlocks()
method_60274()
canTriggerBlocks()
public boolean
shouldAffectBlocklikeEntities()
method_61722()
preservesDecorativeEntities()
public boolean
isSmall()
method_61739()
isSmall()
private static void
lambda$interactWithBlocks$0(List arg0, ItemStack arg1, BlockPos arg2)
method_61736(List arg0, class_1799 arg1, class_2338 arg2)
method_61736(List arg0, ItemStack item, BlockPos pos)