Class EndGatewayConfiguration.Builder

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

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

  • 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 EndGatewayConfiguration.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 EndGatewayConfiguration build()
      Builds the configuration.
      Returns:
      the configuration
      Since:
      3.0.0