Class EndGatewayConfiguration.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.EndGatewayConfiguration.Builder
- Enclosing interface:
EndGatewayConfiguration
Builder for
EndGatewayConfiguration.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configuration.exact(boolean exact) Sets whether the gateway should teleport entities to the exact exit position.exit(@Nullable BlockVector exit) Sets the block position where the gateway should exit.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
exit
Sets the block position where the gateway should exit.- Parameters:
exit- the exit position, ornullto search for the exit on use- Returns:
- this builder
- Since:
- 3.0.0
-
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
Builds the configuration.- Returns:
- the configuration
- Since:
- 3.0.0
-