public final class SpongeBlockDamageSourceBuilder extends Object implements org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder
Constructor and Description |
---|
SpongeBlockDamageSourceBuilder() |
Modifier and Type | Method and Description |
---|---|
org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder |
absolute() |
org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder |
block(org.spongepowered.api.block.BlockSnapshot blockState) |
org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder |
block(org.spongepowered.api.world.Location<org.spongepowered.api.world.World> location) |
org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSource |
build() |
org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder |
bypassesArmor() |
org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder |
explosion() |
org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder |
magical() |
org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder |
scalesWithDifficulty() |
org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder |
type(org.spongepowered.api.event.cause.entity.damage.DamageType damageType) |
public org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder scalesWithDifficulty()
scalesWithDifficulty
in interface org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder
scalesWithDifficulty
in interface org.spongepowered.api.event.cause.entity.damage.source.DamageSourceBuilder
public org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder bypassesArmor()
bypassesArmor
in interface org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder
bypassesArmor
in interface org.spongepowered.api.event.cause.entity.damage.source.DamageSourceBuilder
public org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder explosion()
explosion
in interface org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder
explosion
in interface org.spongepowered.api.event.cause.entity.damage.source.DamageSourceBuilder
public org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder absolute()
absolute
in interface org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder
absolute
in interface org.spongepowered.api.event.cause.entity.damage.source.DamageSourceBuilder
public org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder magical()
magical
in interface org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder
magical
in interface org.spongepowered.api.event.cause.entity.damage.source.DamageSourceBuilder
public org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder type(org.spongepowered.api.event.cause.entity.damage.DamageType damageType)
type
in interface org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder
type
in interface org.spongepowered.api.event.cause.entity.damage.source.DamageSourceBuilder
public org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder block(org.spongepowered.api.world.Location<org.spongepowered.api.world.World> location)
block
in interface org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder
public org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder block(org.spongepowered.api.block.BlockSnapshot blockState)
block
in interface org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder
public org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSource build() throws IllegalStateException
build
in interface org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSourceBuilder
build
in interface org.spongepowered.api.event.cause.entity.damage.source.DamageSourceBuilder
IllegalStateException