diff --git a/VoxelSniperCore/src/main/java/com/github/kevindagame/voxelsniper/Version.java b/VoxelSniperCore/src/main/java/com/github/kevindagame/voxelsniper/Version.java index 15c84f0e..ce0c6c7a 100644 --- a/VoxelSniperCore/src/main/java/com/github/kevindagame/voxelsniper/Version.java +++ b/VoxelSniperCore/src/main/java/com/github/kevindagame/voxelsniper/Version.java @@ -1,12 +1,14 @@ package com.github.kevindagame.voxelsniper; +@Deprecated(since = "9.2.0", forRemoval = true) +//This doesn't allow forward compatibility 🤮 public enum Version { V1_16, V1_17, V1_18, - V1_19; + V1_19, + V1_20; - //todo: Test if this works public boolean isSupported(Version v) { return Integer.parseInt(this.name().substring(3)) >= Integer.parseInt(v.name().substring(3)); } diff --git a/VoxelSniperCore/src/main/java/com/github/kevindagame/voxelsniper/biome/VoxelBiome.java b/VoxelSniperCore/src/main/java/com/github/kevindagame/voxelsniper/biome/VoxelBiome.java index 942f944c..8bb74af6 100644 --- a/VoxelSniperCore/src/main/java/com/github/kevindagame/voxelsniper/biome/VoxelBiome.java +++ b/VoxelSniperCore/src/main/java/com/github/kevindagame/voxelsniper/biome/VoxelBiome.java @@ -73,6 +73,7 @@ public record VoxelBiome(String namespace, String key, Version version) { public static VoxelBiome FROZEN_PEAKS = register("frozen_peaks", Version.V1_18); public static VoxelBiome JAGGED_PEAKS = register("jagged_peaks", Version.V1_18); public static VoxelBiome STONY_PEAKS = register("stony_peaks", Version.V1_18); + public static VoxelBiome CHERRY_GROVE = register("cherry_grove", Version.V1_20); public VoxelBiome(String key) { this(DEFAULT_NAMESPACE, key, Version.V1_16); diff --git a/VoxelSniperCore/src/main/java/com/github/kevindagame/voxelsniper/entity/entitytype/VoxelEntityType.java b/VoxelSniperCore/src/main/java/com/github/kevindagame/voxelsniper/entity/entitytype/VoxelEntityType.java index 776be01c..9d3c88cb 100644 --- a/VoxelSniperCore/src/main/java/com/github/kevindagame/voxelsniper/entity/entitytype/VoxelEntityType.java +++ b/VoxelSniperCore/src/main/java/com/github/kevindagame/voxelsniper/entity/entitytype/VoxelEntityType.java @@ -128,6 +128,8 @@ public record VoxelEntityType(String namespace, String key, Version version) { public static VoxelEntityType FISHING_HOOK = register("fishing_bobber"); public static VoxelEntityType LIGHTNING = register("lightning_bolt"); public static VoxelEntityType PLAYER = register("player"); + public static VoxelEntityType SNIFFER = register("sniffer", Version.V1_20); + public static VoxelEntityType CAMEL = register("camel", Version.V1_20); public VoxelEntityType(String key) { this(DEFAULT_NAMESPACE, key, Version.V1_16); diff --git a/VoxelSniperSpigot/build.gradle.kts b/VoxelSniperSpigot/build.gradle.kts index ecde5f65..d775e56b 100644 --- a/VoxelSniperSpigot/build.gradle.kts +++ b/VoxelSniperSpigot/build.gradle.kts @@ -9,8 +9,8 @@ repositories { } dependencies { - compileOnly("org.spigotmc:spigot-api:1.19-R0.1-SNAPSHOT") - compileOnly("com.sk89q.worldguard:worldguard-bukkit:7.0.5") // newest worldguard that supports 1.16.5 + compileOnly("org.spigotmc:spigot-api:1.20-R0.1-SNAPSHOT") + compileOnly("com.sk89q.worldguard:worldguard-bukkit:7.0.8") compileOnly("com.plotsquared:PlotSquared-Core") shadow(platform("com.intellectualsites.bom:bom-1.18.x:1.20")) diff --git a/gradle.properties b/gradle.properties index 8499a150..94ccacdb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -voxelsniper.version=8.9.0 +voxelsniper.version=8.10.0 org.gradle.jvmargs=-Xmx3G org.gradle.daemon=false