Interface Explosion
- All Known Implementing Classes:
ServerExplosion
public interface Explosion
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleancenter()static DamageSourcegetDefaultDamageSource(Level level, @Nullable Entity source) @Nullable Entity@Nullable LivingEntitystatic @Nullable LivingEntitygetIndirectSourceEntity(@Nullable Entity source) level()floatradius()boolean
-
Method Details
-
getDefaultDamageSource
-
getIndirectSourceEntity
-
level
ServerLevel level() -
getBlockInteraction
Explosion.BlockInteraction getBlockInteraction() -
getIndirectSourceEntity
@Nullable LivingEntity getIndirectSourceEntity() -
getDirectSourceEntity
@Nullable Entity getDirectSourceEntity() -
radius
float radius() -
center
Vec3 center() -
canTriggerBlocks
boolean canTriggerBlocks() -
shouldAffectBlocklikeEntities
boolean shouldAffectBlocklikeEntities()
-