Class EndGatewayFeature.Builder

java.lang.Object
dev.wyck.worldgen.feature.configurations.EndGatewayFeature.Builder
Enclosing interface:
EndGatewayFeature

@AsOf("3.0.0") public static final class EndGatewayFeature.Builder extends Object
Builder for EndGatewayFeature.
Since:
3.0.0
  • Constructor Details

    • Builder

      public Builder()
    • Builder

      public Builder(EndGatewayFeature configuration)
  • Method Details

    • exit

      Sets the block position where the gateway should exit.
      Parameters:
      exit - the exit position, or null to search for the exit on use
      Returns:
      this builder
      Since:
      3.0.0
    • exact

      @AsOf("3.0.0") public EndGatewayFeature.Builder exact(boolean exact)
      Sets whether the gateway should teleport entities to the exact exit position.
      Parameters:
      exact - whether the exit position is exact
      Returns:
      this builder
      Since:
      3.0.0
    • build

      @AsOf("3.0.0") public EndGatewayFeature build()
      Builds the configuration.
      Returns:
      the configuration
      Since:
      3.0.0