Interface BounceableFallingBlock

All Superinterfaces:
Bounceable<org.bukkit.entity.FallingBlock,org.bukkit.event.entity.EntityChangeBlockEvent>

public interface BounceableFallingBlock extends Bounceable<org.bukkit.entity.FallingBlock,org.bukkit.event.entity.EntityChangeBlockEvent>
  • Method Summary

    Modifier and Type
    Method
    Description
    default Class<org.bukkit.entity.FallingBlock>
     
    default void
    onExecute(org.bukkit.event.entity.EntityChangeBlockEvent event)
     
    default org.bukkit.entity.FallingBlock
    spawnEntity(org.bukkit.Location location, org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack itemStack)
     

    Methods inherited from interface ru.cwcode.cwutils.bounceable.Bounceable

    bounce, getVelocityMultiplier
  • Method Details

    • getEntityClass

      default Class<org.bukkit.entity.FallingBlock> getEntityClass()
      Specified by:
      getEntityClass in interface Bounceable<org.bukkit.entity.FallingBlock,org.bukkit.event.entity.EntityChangeBlockEvent>
    • spawnEntity

      default org.bukkit.entity.FallingBlock spawnEntity(org.bukkit.Location location, org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack itemStack)
      Specified by:
      spawnEntity in interface Bounceable<org.bukkit.entity.FallingBlock,org.bukkit.event.entity.EntityChangeBlockEvent>
    • onExecute

      default void onExecute(org.bukkit.event.entity.EntityChangeBlockEvent event)
      Specified by:
      onExecute in interface Bounceable<org.bukkit.entity.FallingBlock,org.bukkit.event.entity.EntityChangeBlockEvent>