public class EndGatewayFeatureConfig extends Object implements FeatureConfig
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<EndGatewayFeatureConfig> |
CODEC |
private boolean |
exact |
private Optional<BlockPos> |
exitPos |
DEFAULT
Modifier | Constructor and Description |
---|---|
private |
EndGatewayFeatureConfig(Optional<BlockPos> exitPos,
boolean exact) |
Modifier and Type | Method and Description |
---|---|
static EndGatewayFeatureConfig |
createConfig() |
static EndGatewayFeatureConfig |
createConfig(BlockPos exitPortalPosition,
boolean exitsAtSpawn) |
Optional<BlockPos> |
getExitPos() |
boolean |
isExact() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
method_30649
public static final com.mojang.serialization.Codec<EndGatewayFeatureConfig> CODEC
private final boolean exact
public static EndGatewayFeatureConfig createConfig(BlockPos exitPortalPosition, boolean exitsAtSpawn)
public static EndGatewayFeatureConfig createConfig()
public boolean isExact()