Interface Home.Builder

All Superinterfaces:
AbstractBuilder<Home>, Builder<Home,Home.Builder>, ResettableBuilder<Home,Home.Builder>
Enclosing interface:
Home

public static interface Home.Builder extends AbstractBuilder<Home>, Builder<Home,Home.Builder>
  • Method Summary

    Modifier and Type
    Method
    Description
    setDefault(boolean def)
    Assign this home point as the default home point.
    If a player will have several points marked as the default point, the first matching this condition will be chosen when receiving the default point.
    Set new location of home point.
    Set new name of home point.

    Methods inherited from interface net.kyori.adventure.builder.AbstractBuilder

    build

    Methods inherited from interface org.spongepowered.api.util.Builder

    reset
  • Method Details

    • setName

      Home.Builder setName(String name)
      Set new name of home point.
      Returns:
      TODO
    • setLocation

      Home.Builder setLocation(Location location)
      Set new location of home point.
      Returns:
      TODO
    • setDefault

      Home.Builder setDefault(boolean def)
      Assign this home point as the default home point.
      If a player will have several points marked as the default point, the first matching this condition will be chosen when receiving the default point.