Class DeathmatchDestination.Builder
java.lang.Object
dev.itsharshxd.zentrix.api.deathmatch.DeathmatchDestination.Builder
- Enclosing class:
DeathmatchDestination
Fluent builder for
DeathmatchDestination.-
Method Summary
Modifier and TypeMethodDescription@NotNull DeathmatchDestination.BuilderapplyBlockMechanics(boolean value) @NotNull DeathmatchDestination.BuilderapplyWorldPreparation(boolean value) @NotNull DeathmatchDestination.Builderbounds(@Nullable org.bukkit.Location corner1, @Nullable org.bukkit.Location corner2) The two opposite corners of the deathmatch border in this world.@NotNull DeathmatchDestinationbuild()@NotNull DeathmatchDestination.BuildermanageWorldLifecycle(boolean value) @NotNull DeathmatchDestination.Builderspawn(@NotNull org.bukkit.Location location) Adds one spawn.@NotNull DeathmatchDestination.Builderspawns(@NotNull Collection<org.bukkit.Location> locations)
-
Method Details
-
spawn
@NotNull public @NotNull DeathmatchDestination.Builder spawn(@NotNull @NotNull org.bukkit.Location location) Adds one spawn. Locations in another world are refused rather than silently ignored. -
spawns
@NotNull public @NotNull DeathmatchDestination.Builder spawns(@NotNull @NotNull Collection<org.bukkit.Location> locations) -
bounds
@NotNull public @NotNull DeathmatchDestination.Builder bounds(@Nullable @Nullable org.bukkit.Location corner1, @Nullable @Nullable org.bukkit.Location corner2) The two opposite corners of the deathmatch border in this world. -
manageWorldLifecycle
-
applyWorldPreparation
-
applyBlockMechanics
-
build
-