From ae98859524ec8fdca990cae0584dcc9b3bb9c02f Mon Sep 17 00:00:00 2001 From: tr7zw Date: Mon, 16 Dec 2024 17:11:16 +0100 Subject: [PATCH] Tag 2.14.1 --- item-nbt-api/pom.xml | 2 +- .../java/de/tr7zw/changeme/nbtapi/utils/MinecraftVersion.java | 2 +- .../main/java/de/tr7zw/changeme/nbtapi/utils/NBTJsonUtil.java | 2 +- item-nbt-plugin/pom.xml | 4 ++-- .../java/de/tr7zw/nbtapi/plugin/tests/items/ItemJsonTest.java | 2 -- mappings-parser/pom.xml | 4 ++-- nbt-data-api/pom.xml | 4 ++-- nbt-injector/pom.xml | 4 ++-- pom.xml | 2 +- spigot.bb | 4 ++-- 10 files changed, 14 insertions(+), 16 deletions(-) diff --git a/item-nbt-api/pom.xml b/item-nbt-api/pom.xml index abf06a040..9e6a60c3d 100644 --- a/item-nbt-api/pom.xml +++ b/item-nbt-api/pom.xml @@ -5,7 +5,7 @@ de.tr7zw item-nbt-parent - 2.14.1-SNAPSHOT + 2.14.1 item-nbt-api diff --git a/item-nbt-api/src/main/java/de/tr7zw/changeme/nbtapi/utils/MinecraftVersion.java b/item-nbt-api/src/main/java/de/tr7zw/changeme/nbtapi/utils/MinecraftVersion.java index 8f546ef1a..96a1a12ff 100644 --- a/item-nbt-api/src/main/java/de/tr7zw/changeme/nbtapi/utils/MinecraftVersion.java +++ b/item-nbt-api/src/main/java/de/tr7zw/changeme/nbtapi/utils/MinecraftVersion.java @@ -39,7 +39,7 @@ public enum MinecraftVersion { private static Logger logger = Logger.getLogger("NBTAPI"); // NBT-API Version - protected static final String VERSION = "2.14.1-SNAPSHOT"; + protected static final String VERSION = "2.14.1"; private final int versionId; private final boolean mojangMapping; diff --git a/item-nbt-api/src/main/java/de/tr7zw/changeme/nbtapi/utils/NBTJsonUtil.java b/item-nbt-api/src/main/java/de/tr7zw/changeme/nbtapi/utils/NBTJsonUtil.java index a706ad64a..528083e73 100644 --- a/item-nbt-api/src/main/java/de/tr7zw/changeme/nbtapi/utils/NBTJsonUtil.java +++ b/item-nbt-api/src/main/java/de/tr7zw/changeme/nbtapi/utils/NBTJsonUtil.java @@ -24,7 +24,7 @@ public class NBTJsonUtil { * @throws NbtApiException */ @SuppressWarnings("unchecked") - public static JsonElement itemStackToJson(ItemStack itemStack) throws NbtApiException { + public static JsonElement itemStackToJson(ItemStack itemStack) { try { Codec itemStackCodec = (Codec) ClassWrapper.NMS_ITEMSTACK.getClazz() .getField(MojangToMapping.getMapping().get("net.minecraft.world.item.ItemStack#CODEC")).get(null); diff --git a/item-nbt-plugin/pom.xml b/item-nbt-plugin/pom.xml index 7f6a978be..c959fa0d6 100644 --- a/item-nbt-plugin/pom.xml +++ b/item-nbt-plugin/pom.xml @@ -4,7 +4,7 @@ de.tr7zw item-nbt-parent - 2.14.1-SNAPSHOT + 2.14.1 item-nbt-api-plugin jar @@ -12,7 +12,7 @@ de.tr7zw item-nbt-api - 2.14.1-SNAPSHOT + 2.14.1 compile diff --git a/item-nbt-plugin/src/main/java/de/tr7zw/nbtapi/plugin/tests/items/ItemJsonTest.java b/item-nbt-plugin/src/main/java/de/tr7zw/nbtapi/plugin/tests/items/ItemJsonTest.java index 72549ecc9..20f55b9cd 100644 --- a/item-nbt-plugin/src/main/java/de/tr7zw/nbtapi/plugin/tests/items/ItemJsonTest.java +++ b/item-nbt-plugin/src/main/java/de/tr7zw/nbtapi/plugin/tests/items/ItemJsonTest.java @@ -6,8 +6,6 @@ import com.google.gson.JsonElement; -import de.tr7zw.changeme.nbtapi.NBT; -import de.tr7zw.changeme.nbtapi.NBTItem; import de.tr7zw.changeme.nbtapi.NbtApiException; import de.tr7zw.changeme.nbtapi.utils.NBTJsonUtil; import de.tr7zw.nbtapi.plugin.tests.Test; diff --git a/mappings-parser/pom.xml b/mappings-parser/pom.xml index 95458451b..73d672f0f 100644 --- a/mappings-parser/pom.xml +++ b/mappings-parser/pom.xml @@ -4,7 +4,7 @@ de.tr7zw item-nbt-parent - 2.14.1-SNAPSHOT + 2.14.1 mappings-parser jar @@ -12,7 +12,7 @@ de.tr7zw item-nbt-api - 2.14.1-SNAPSHOT + 2.14.1 compile diff --git a/nbt-data-api/pom.xml b/nbt-data-api/pom.xml index d1d59b9ec..7395cf852 100644 --- a/nbt-data-api/pom.xml +++ b/nbt-data-api/pom.xml @@ -5,7 +5,7 @@ de.tr7zw item-nbt-parent - 2.14.1-SNAPSHOT + 2.14.1 nbt-data-api @@ -14,7 +14,7 @@ de.tr7zw item-nbt-api - 2.14.1-SNAPSHOT + 2.14.1 compile diff --git a/nbt-injector/pom.xml b/nbt-injector/pom.xml index ea1659932..b49873e14 100644 --- a/nbt-injector/pom.xml +++ b/nbt-injector/pom.xml @@ -4,7 +4,7 @@ de.tr7zw item-nbt-parent - 2.14.1-SNAPSHOT + 2.14.1 nbt-injector jar @@ -12,7 +12,7 @@ de.tr7zw item-nbt-api - 2.14.1-SNAPSHOT + 2.14.1 compile diff --git a/pom.xml b/pom.xml index f198e6ac9..757206bc2 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 de.tr7zw item-nbt-parent - 2.14.1-SNAPSHOT + 2.14.1 pom 2015 diff --git a/spigot.bb b/spigot.bb index ce882cbdf..af439a6b0 100644 --- a/spigot.bb +++ b/spigot.bb @@ -112,7 +112,7 @@ Just use the Plugin as Maven dependency and remember to add "NBTAPI" as dependen de.tr7zw item-nbt-api-plugin - 2.14.1-SNAPSHOT + 2.14.1 [/CODE] [/SPOILER] @@ -122,7 +122,7 @@ Using this method the API gets copied into your plugin. Server owners don't have de.tr7zw item-nbt-api - 2.14.1-SNAPSHOT + 2.14.1 ...