Interface Warp

All Superinterfaces:
DataSerializable

public interface Warp extends DataSerializable
  • Method Details

    • builder

      static Warp.Builder builder()
    • of

      static Warp of(String name, Location location)
      Creating a new warp point.
    • of

      static Warp of(String name, Location location, boolean privated)
      Creating a new warp point.
    • asComponent

      Component asComponent()
      Warp name converted to Component
    • getName

      String getName()
      Warp name
    • getPlainName

      String getPlainName()
      Warp plain name
    • getLocation

      Location getLocation()
      Warp Location.
    • isPrivate

      boolean isPrivate()
      Whether the warp is personal for the player.
    • moveHere

      boolean moveHere(Entity entity)
      Teleport an entity to warp.