Interface EndGatewayConfiguration
- All Superinterfaces:
FeatureConfiguration, Wrapper
Intradimensional portals generated in the End.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface FeatureConfiguration
NONE -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder.static EndGatewayConfigurationCreates a new gateway configuration whose exit position is searched for when the gateway is used.booleanexact()Whether the gateway should teleport entities to the exact exit position.exit()The block position where the gateway should exit, or empty if the exit is searched for on use.static EndGatewayConfigurationknownExit(BlockVector exit, boolean exact) Creates a new gateway configuration with a known exit position.default EndGatewayConfiguration.BuilderConverts this object back to a builder.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
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
Whether the gateway should teleport entities to the exact exit position.- Returns:
- whether the exit position is exact
- Since:
- 3.0.0
-
toBuilder
Converts this object back to a builder.- Returns:
- a builder with the same values as this object
- Since:
- 3.0.0
-
knownExit
Creates a new gateway configuration with a known exit position.- Parameters:
exit- the block position where the gateway should exitexact- whether the gateway should teleport entities to the exact exit position- Returns:
- a new end gateway configuration
- Since:
- 3.0.0
-
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
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-