Interface EndGatewayConfiguration

All Superinterfaces:
FeatureConfiguration, Wrapper

@NullMarked @AsOf("3.0.0") public interface EndGatewayConfiguration extends FeatureConfiguration
Intradimensional portals generated in the End.
Since:
3.0.0
See Also:
  • Method Details

    • exit

      @AsOf("3.0.0") Optional<BlockVector> exit()
      The block position where the gateway should exit, or empty if the exit is searched for on use.
      Returns:
      the exit position, or empty
      Since:
      3.0.0
    • exact

      @AsOf("3.0.0") boolean exact()
      Whether the gateway should teleport entities to the exact exit position.
      Returns:
      whether the exit position is exact
      Since:
      3.0.0
    • toBuilder

      @AsOf("3.0.0") default EndGatewayConfiguration.Builder toBuilder()
      Converts this object back to a builder.
      Returns:
      a builder with the same values as this object
      Since:
      3.0.0
    • knownExit

      @AsOf("3.0.0") static EndGatewayConfiguration knownExit(BlockVector exit, boolean exact)
      Creates a new gateway configuration with a known exit position.
      Parameters:
      exit - the block position where the gateway should exit
      exact - whether the gateway should teleport entities to the exact exit position
      Returns:
      a new end gateway configuration
      Since:
      3.0.0
    • delayedExitSearch

      @AsOf("3.0.0") static EndGatewayConfiguration delayedExitSearch()
      Creates a new gateway configuration whose exit position is searched for when the gateway is used.
      Returns:
      a new end gateway configuration
      Since:
      3.0.0
    • builder

      @AsOf("3.0.0") static EndGatewayConfiguration.Builder builder()
      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.0.0