Interface FallingBlockDamageSource.Builder
-
- All Superinterfaces:
Buildable.Builder<FallingBlockDamageSource>
,Builder<FallingBlockDamageSource,FallingBlockDamageSource.Builder>
,CopyableBuilder<FallingBlockDamageSource,FallingBlockDamageSource.Builder>
,DamageSource.DamageSourceBuilder<FallingBlockDamageSource,FallingBlockDamageSource.Builder>
,EntityDamageSource.EntityDamageSourceBuilder<FallingBlockDamageSource,FallingBlockDamageSource.Builder>
,ResettableBuilder<FallingBlockDamageSource,FallingBlockDamageSource.Builder>
- Enclosing interface:
- FallingBlockDamageSource
public static interface FallingBlockDamageSource.Builder extends EntityDamageSource.EntityDamageSourceBuilder<FallingBlockDamageSource,FallingBlockDamageSource.Builder>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FallingBlockDamageSource.Builder
damagePerBlock(double damagePer)
FallingBlockDamageSource.Builder
fallTime(Ticks time)
FallingBlockDamageSource.Builder
hurtsEntities(boolean hurts)
FallingBlockDamageSource.Builder
maxDamage(double damage)
FallingBlockDamageSource.Builder
places(boolean canPlace)
-
Methods inherited from interface org.spongepowered.api.util.CopyableBuilder
from
-
Methods inherited from interface org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder
absolute, build, bypassesArmor, creative, exhaustion, explosion, fire, magical, scalesWithDifficulty, type, type
-
Methods inherited from interface org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.EntityDamageSourceBuilder
entity
-
-
-
-
Method Detail
-
places
FallingBlockDamageSource.Builder places(boolean canPlace)
-
fallTime
FallingBlockDamageSource.Builder fallTime(Ticks time)
-
hurtsEntities
FallingBlockDamageSource.Builder hurtsEntities(boolean hurts)
-
maxDamage
FallingBlockDamageSource.Builder maxDamage(double damage)
-
damagePerBlock
FallingBlockDamageSource.Builder damagePerBlock(double damagePer)
-
-