mirror of
https://github.com/BentoBoxWorld/CaveBlock.git
synced 2024-11-26 12:15:14 +01:00
Add 1.15.2 backward compatibility.
Update to 1.14 api.
This commit is contained in:
parent
93ee3cdd33
commit
cf8e29b562
2
pom.xml
2
pom.xml
@ -46,7 +46,7 @@
|
|||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<!-- More visible way how to change dependency versions -->
|
<!-- More visible way how to change dependency versions -->
|
||||||
<spigot.version>1.16.1-R0.1-SNAPSHOT</spigot.version>
|
<spigot.version>1.16.1-R0.1-SNAPSHOT</spigot.version>
|
||||||
<bentobox.version>1.14.0-SNAPSHOT</bentobox.version>
|
<bentobox.version>1.14.0</bentobox.version>
|
||||||
<!-- Revision variable removes warning about dynamic version -->
|
<!-- Revision variable removes warning about dynamic version -->
|
||||||
<revision>${build.version}-SNAPSHOT</revision>
|
<revision>${build.version}-SNAPSHOT</revision>
|
||||||
<!-- This allows to change between versions and snapshots. -->
|
<!-- This allows to change between versions and snapshots. -->
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
package world.bentobox.caveblock;
|
package world.bentobox.caveblock;
|
||||||
|
|
||||||
|
|
||||||
|
import com.google.common.base.Enums;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
@ -2055,7 +2056,7 @@ public class Settings implements WorldSettings
|
|||||||
|
|
||||||
@ConfigComment("The default biome for the nether world (this may affect what mobs can spawn)")
|
@ConfigComment("The default biome for the nether world (this may affect what mobs can spawn)")
|
||||||
@ConfigEntry(path = "world.nether.biome", since = "1.14.0")
|
@ConfigEntry(path = "world.nether.biome", since = "1.14.0")
|
||||||
private Biome defaultNetherBiome = Biome.NETHER_WASTES;
|
private Biome defaultNetherBiome = Enums.getIfPresent(Biome.class, "NETHER").or(Enums.getIfPresent(Biome.class, "NETHER_WASTES").or(Biome.BADLANDS));
|
||||||
|
|
||||||
@ConfigComment("Nether spawn protection radius - this is the distance around the nether spawn")
|
@ConfigComment("Nether spawn protection radius - this is the distance around the nether spawn")
|
||||||
@ConfigComment("that will be protected from player interaction (breaking blocks, pouring lava etc.)")
|
@ConfigComment("that will be protected from player interaction (breaking blocks, pouring lava etc.)")
|
||||||
|
@ -194,7 +194,6 @@ world:
|
|||||||
remove-mobs-whitelist:
|
remove-mobs-whitelist:
|
||||||
- WITHER
|
- WITHER
|
||||||
- ENDERMAN
|
- ENDERMAN
|
||||||
- ZOMBIFIED_PIGLIN
|
|
||||||
- ZOMBIE_VILLAGER
|
- ZOMBIE_VILLAGER
|
||||||
# World flags. These are boolean settings for various flags for this world
|
# World flags. These are boolean settings for various flags for this world
|
||||||
flags:
|
flags:
|
||||||
|
Loading…
Reference in New Issue
Block a user