Class GlowBoat

All Implemented Interfaces:
net.kyori.adventure.audience.Audience, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, org.bukkit.command.CommandSender, org.bukkit.entity.Boat, org.bukkit.entity.Entity, org.bukkit.entity.Vehicle, org.bukkit.metadata.Metadatable, org.bukkit.Nameable, org.bukkit.permissions.Permissible, org.bukkit.permissions.ServerOperator, org.bukkit.persistence.PersistentDataHolder

public class GlowBoat extends GlowVehicle implements org.bukkit.entity.Boat
  • Constructor Details

    • GlowBoat

      public GlowBoat(org.bukkit.Location location)
      Creates a boat.
      location - the boat's location
  • Method Details

    • getType

      public org.bukkit.entity.EntityType getType()
      Specified by:
      getType in interface org.bukkit.entity.Entity
      getType in class GlowEntity
    • createSpawnMessage

      public List<> createSpawnMessage()
      Description copied from class: GlowEntity
      Creates a list of Messages which can be sent to a client to spawn this entity. Implementations in concrete subclasses may return a shallowly immutable list.
      Specified by:
      createSpawnMessage in class GlowEntity
      A list of messages which can spawn this entity.
    • reset

      public void reset()
      Description copied from class: GlowEntity
      Resets the previous location and other properties to their current value.
      reset in class GlowEntity
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.bukkit.entity.Entity
      isEmpty in class GlowEntity
    • entityInteract

      public boolean entityInteract(GlowPlayer player, InteractEntityMessage message)
      entityInteract in class GlowEntity
    • setWoodType

      public void setWoodType(org.bukkit.TreeSpecies treeSpecies)
      Specified by:
      setWoodType in interface org.bukkit.entity.Boat
    • getMaxSpeed

      public double getMaxSpeed()
      Specified by:
      getMaxSpeed in interface org.bukkit.entity.Boat
    • setMaxSpeed

      public void setMaxSpeed(double v)
      Specified by:
      setMaxSpeed in interface org.bukkit.entity.Boat
    • getOccupiedDeceleration

      public double getOccupiedDeceleration()
      Specified by:
      getOccupiedDeceleration in interface org.bukkit.entity.Boat
    • setOccupiedDeceleration

      public void setOccupiedDeceleration(double v)
      Specified by:
      setOccupiedDeceleration in interface org.bukkit.entity.Boat
    • getUnoccupiedDeceleration

      public double getUnoccupiedDeceleration()
      Specified by:
      getUnoccupiedDeceleration in interface org.bukkit.entity.Boat
    • setUnoccupiedDeceleration

      public void setUnoccupiedDeceleration(double v)
      Specified by:
      setUnoccupiedDeceleration in interface org.bukkit.entity.Boat
    • getWorkOnLand

      public boolean getWorkOnLand()
      Specified by:
      getWorkOnLand in interface org.bukkit.entity.Boat
    • setWorkOnLand

      public void setWorkOnLand(boolean workOnLand)
      Specified by:
      setWorkOnLand in interface org.bukkit.entity.Boat
    • getBoatMaterial

      @NotNull public @NotNull org.bukkit.Material getBoatMaterial()
      Specified by:
      getBoatMaterial in interface org.bukkit.entity.Boat
    • getRightPaddleTurning

      public boolean getRightPaddleTurning()
    • setRightPaddleTurning

      public void setRightPaddleTurning(boolean rightPaddleTurning)
    • getLeftPaddleTurning

      public boolean getLeftPaddleTurning()
    • setLeftPaddleTurning

      public void setLeftPaddleTurning(boolean leftPaddleTurning)
    • getWoodType

      public org.bukkit.TreeSpecies getWoodType()
      Specified by:
      getWoodType in interface org.bukkit.entity.Boat