Interface BridgeEgg<G extends Game,P extends BWPlayer,T extends Team,E extends org.screamingsandals.lib.utils.Wrapper,M extends org.screamingsandals.lib.utils.Wrapper>

All Superinterfaces:
SpecialItem<G,P,T>

@NonExtendable public interface BridgeEgg<G extends Game,P extends BWPlayer,T extends Team,E extends org.screamingsandals.lib.utils.Wrapper,M extends org.screamingsandals.lib.utils.Wrapper> extends SpecialItem<G,P,T>
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Gets the bridge's max distance.
    Gets the bridge material.
    Gets the bridge egg projectile.
    void
    Runs the placing task.

    Methods inherited from interface org.screamingsandals.bedwars.api.special.SpecialItem

    getGame, getPlayer, getTeam
  • Method Details

    • getProjectile

      E getProjectile()

      Gets the bridge egg projectile.

      Returns:
      the bridge egg projectile
    • getMaterial

      M getMaterial()

      Gets the bridge material.

      Returns:
      the bridge material
    • getDistance

      double getDistance()

      Gets the bridge's max distance.

      Returns:
      the bridge max distance
    • runTask

      void runTask()

      Runs the placing task.