diff --git a/pom.xml b/pom.xml
index 2920a37..4d4f9a9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -59,7 +59,7 @@
2.0.2
1.16.1-R0.1-SNAPSHOT
- 1.14.0
+ 1.16.0
${build.version}-SNAPSHOT
diff --git a/src/main/java/world/bentobox/bskyblock/Settings.java b/src/main/java/world/bentobox/bskyblock/Settings.java
index 70465f4..4f7eccd 100644
--- a/src/main/java/world/bentobox/bskyblock/Settings.java
+++ b/src/main/java/world/bentobox/bskyblock/Settings.java
@@ -188,6 +188,12 @@ public class Settings implements WorldSettings {
@ConfigEntry(path = "world.nether.spawn-radius")
private int netherSpawnRadius = 32;
+ @ConfigComment("This option indicates if nether portals should be linked via dimensions.")
+ @ConfigComment("Option will simulate vanilla portal mechanics that links portals together")
+ @ConfigComment("or creates a new portal, if there is not a portal in that dimension.")
+ @ConfigEntry(path = "world.nether.create-and-link-portals", since = "1.16")
+ private boolean makeNetherPortals = false;
+
// End
@ConfigComment("End Nether - if this is false, the end world will not be made and access to")
@ConfigComment("the end will not occur. Other plugins may still enable portal usage.")
@@ -198,6 +204,11 @@ public class Settings implements WorldSettings {
@ConfigEntry(path = "world.end.islands", needsReset = true)
private boolean endIslands = true;
+ @ConfigComment("This option indicates if obsidian platform in the end should be generated")
+ @ConfigComment("when player enters the end world.")
+ @ConfigEntry(path = "world.end.create-obsidian-platform", since = "1.16")
+ private boolean makeEndPortals = false;
+
@ConfigEntry(path = "world.end.dragon-spawn", experimental = true)
private boolean dragonSpawn = false;
@@ -1734,4 +1745,36 @@ public class Settings implements WorldSettings {
public void setDefaultEndBiome(Biome defaultEndBiome) {
this.defaultEndBiome = defaultEndBiome;
}
+
+ /**
+ * @return the makeNetherPortals
+ */
+ @Override
+ public boolean isMakeNetherPortals() {
+ return makeNetherPortals;
+ }
+
+ /**
+ * @return the makeEndPortals
+ */
+ @Override
+ public boolean isMakeEndPortals() {
+ return makeEndPortals;
+ }
+
+ /**
+ * Sets make nether portals.
+ * @param makeNetherPortals the make nether portals
+ */
+ public void setMakeNetherPortals(boolean makeNetherPortals) {
+ this.makeNetherPortals = makeNetherPortals;
+ }
+
+ /**
+ * Sets make end portals.
+ * @param makeEndPortals the make end portals
+ */
+ public void setMakeEndPortals(boolean makeEndPortals) {
+ this.makeEndPortals = makeEndPortals;
+ }
}
diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml
index 76610e1..f60b76e 100644
--- a/src/main/resources/config.yml
+++ b/src/main/resources/config.yml
@@ -116,6 +116,10 @@ world:
# Minimum is 0 (not recommended), maximum is 100. Default is 25.
# Only applies to vanilla nether
spawn-radius: 25
+ # This option indicates if nether portals should be linked via dimensions.
+ # Option will simulate vanilla portal mechanics that links portals together or creates a new portal, if there is not a portal in other dimension.
+ # Added since 1.16
+ create-and-link-portals: false
end:
# End Nether - if this is false, the end world will not be made and access to
# the end will not occur. Other plugins may still enable portal usage.
@@ -123,6 +127,9 @@ world:
# Islands in The End. Change to false for standard vanilla end.
# /!\ BentoBox currently does not support changing this value mid-game. If you do need to change it, do a full reset of your databases and worlds.
islands: true
+ # This option indicates if obsidian platform in the end should be generated when player enters the end world.
+ # Added since 1.16
+ create-obsidian-platform: false
# /!\ This feature is experimental and might not work as expected or might not work at all.
dragon-spawn: false
# Mob white list - these mobs will NOT be removed when logging in or doing /island