diff --git a/Core/pom.xml b/Core/pom.xml index a70888dc..ea64c975 100644 --- a/Core/pom.xml +++ b/Core/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.14 + 2.4.15 ../ diff --git a/Core/src/main/java/com/songoda/core/SongodaCore.java b/Core/src/main/java/com/songoda/core/SongodaCore.java index e4e1c533..be1c771b 100644 --- a/Core/src/main/java/com/songoda/core/SongodaCore.java +++ b/Core/src/main/java/com/songoda/core/SongodaCore.java @@ -54,7 +54,7 @@ public class SongodaCore { /** * This has been added as of Rev 6 */ - private final static String coreVersion = "2.4.14"; + private final static String coreVersion = "2.4.15"; /** * This is specific to the website api diff --git a/NMS/NMS-API/pom.xml b/NMS/NMS-API/pom.xml index 637dcd8b..b01fb28c 100644 --- a/NMS/NMS-API/pom.xml +++ b/NMS/NMS-API/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.14 + 2.4.15 ../../ diff --git a/NMS/NMS-API/src/com/songoda/core/nms/nbt/NBTCompound.java b/NMS/NMS-API/src/com/songoda/core/nms/nbt/NBTCompound.java index 7bd47801..030af86f 100644 --- a/NMS/NMS-API/src/com/songoda/core/nms/nbt/NBTCompound.java +++ b/NMS/NMS-API/src/com/songoda/core/nms/nbt/NBTCompound.java @@ -25,6 +25,8 @@ public interface NBTCompound { NBTCompound remove(String tag); + NBTCompound addNewCompound(String tag); + boolean has(String tag); NBTObject getNBTObject(String tag); diff --git a/NMS/NMS-v1_10_R1/pom.xml b/NMS/NMS-v1_10_R1/pom.xml index d9a43582..5b8b261a 100644 --- a/NMS/NMS-v1_10_R1/pom.xml +++ b/NMS/NMS-v1_10_R1/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.14 + 2.4.15 ../../ diff --git a/NMS/NMS-v1_10_R1/src/com/songoda/core/nms/v1_10_R1/nbt/NBTCompoundImpl.java b/NMS/NMS-v1_10_R1/src/com/songoda/core/nms/v1_10_R1/nbt/NBTCompoundImpl.java index 05f1deb8..772285f7 100644 --- a/NMS/NMS-v1_10_R1/src/com/songoda/core/nms/v1_10_R1/nbt/NBTCompoundImpl.java +++ b/NMS/NMS-v1_10_R1/src/com/songoda/core/nms/v1_10_R1/nbt/NBTCompoundImpl.java @@ -86,6 +86,13 @@ public class NBTCompoundImpl implements NBTCompound { return this; } + @Override + public NBTCompound addNewCompound(String tag) { + NBTTagCompound newCompound = new NBTTagCompound(); + compound.set(tag, newCompound); + return new NBTCompoundImpl(newCompound); + } + @Override public boolean has(String tag) { return compound.hasKey(tag); diff --git a/NMS/NMS-v1_11_R1/pom.xml b/NMS/NMS-v1_11_R1/pom.xml index a4caa2d8..375a6de8 100644 --- a/NMS/NMS-v1_11_R1/pom.xml +++ b/NMS/NMS-v1_11_R1/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.14 + 2.4.15 ../../ diff --git a/NMS/NMS-v1_11_R1/src/com/songoda/core/nms/v1_11_R1/nbt/NBTCompoundImpl.java b/NMS/NMS-v1_11_R1/src/com/songoda/core/nms/v1_11_R1/nbt/NBTCompoundImpl.java index 82131e62..ff0a1a2c 100644 --- a/NMS/NMS-v1_11_R1/src/com/songoda/core/nms/v1_11_R1/nbt/NBTCompoundImpl.java +++ b/NMS/NMS-v1_11_R1/src/com/songoda/core/nms/v1_11_R1/nbt/NBTCompoundImpl.java @@ -86,6 +86,13 @@ public class NBTCompoundImpl implements NBTCompound { return this; } + @Override + public NBTCompound addNewCompound(String tag) { + NBTTagCompound newCompound = new NBTTagCompound(); + compound.set(tag, newCompound); + return new NBTCompoundImpl(newCompound); + } + @Override public boolean has(String tag) { return compound.hasKey(tag); diff --git a/NMS/NMS-v1_12_R1/pom.xml b/NMS/NMS-v1_12_R1/pom.xml index c63039ef..ecb3e4bf 100644 --- a/NMS/NMS-v1_12_R1/pom.xml +++ b/NMS/NMS-v1_12_R1/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.14 + 2.4.15 ../../ diff --git a/NMS/NMS-v1_12_R1/src/com/songoda/core/nms/v1_12_R1/nbt/NBTCompoundImpl.java b/NMS/NMS-v1_12_R1/src/com/songoda/core/nms/v1_12_R1/nbt/NBTCompoundImpl.java index 0c3b0b73..bbcd2c49 100644 --- a/NMS/NMS-v1_12_R1/src/com/songoda/core/nms/v1_12_R1/nbt/NBTCompoundImpl.java +++ b/NMS/NMS-v1_12_R1/src/com/songoda/core/nms/v1_12_R1/nbt/NBTCompoundImpl.java @@ -86,6 +86,13 @@ public class NBTCompoundImpl implements NBTCompound { return this; } + @Override + public NBTCompound addNewCompound(String tag) { + NBTTagCompound newCompound = new NBTTagCompound(); + compound.set(tag, newCompound); + return new NBTCompoundImpl(newCompound); + } + @Override public boolean has(String tag) { return compound.hasKey(tag); diff --git a/NMS/NMS-v1_13_R1/pom.xml b/NMS/NMS-v1_13_R1/pom.xml index 5b1964b2..edf63264 100644 --- a/NMS/NMS-v1_13_R1/pom.xml +++ b/NMS/NMS-v1_13_R1/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.14 + 2.4.15 ../../ diff --git a/NMS/NMS-v1_13_R1/src/com/songoda/core/nms/v1_13_R1/nbt/NBTCompoundImpl.java b/NMS/NMS-v1_13_R1/src/com/songoda/core/nms/v1_13_R1/nbt/NBTCompoundImpl.java index b37a2188..71e698db 100644 --- a/NMS/NMS-v1_13_R1/src/com/songoda/core/nms/v1_13_R1/nbt/NBTCompoundImpl.java +++ b/NMS/NMS-v1_13_R1/src/com/songoda/core/nms/v1_13_R1/nbt/NBTCompoundImpl.java @@ -86,6 +86,13 @@ public class NBTCompoundImpl implements NBTCompound { return this; } + @Override + public NBTCompound addNewCompound(String tag) { + NBTTagCompound newCompound = new NBTTagCompound(); + compound.set(tag, newCompound); + return new NBTCompoundImpl(newCompound); + } + @Override public boolean has(String tag) { return compound.hasKey(tag); diff --git a/NMS/NMS-v1_13_R2/pom.xml b/NMS/NMS-v1_13_R2/pom.xml index 0fc7dd38..60678f2b 100644 --- a/NMS/NMS-v1_13_R2/pom.xml +++ b/NMS/NMS-v1_13_R2/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.14 + 2.4.15 ../../ diff --git a/NMS/NMS-v1_13_R2/src/com/songoda/core/nms/v1_13_R2/nbt/NBTCompoundImpl.java b/NMS/NMS-v1_13_R2/src/com/songoda/core/nms/v1_13_R2/nbt/NBTCompoundImpl.java index c17875cd..d7278efb 100644 --- a/NMS/NMS-v1_13_R2/src/com/songoda/core/nms/v1_13_R2/nbt/NBTCompoundImpl.java +++ b/NMS/NMS-v1_13_R2/src/com/songoda/core/nms/v1_13_R2/nbt/NBTCompoundImpl.java @@ -86,6 +86,13 @@ public class NBTCompoundImpl implements NBTCompound { return this; } + @Override + public NBTCompound addNewCompound(String tag) { + NBTTagCompound newCompound = new NBTTagCompound(); + compound.set(tag, newCompound); + return new NBTCompoundImpl(newCompound); + } + @Override public boolean has(String tag) { return compound.hasKey(tag); diff --git a/NMS/NMS-v1_14_R1/pom.xml b/NMS/NMS-v1_14_R1/pom.xml index 027b0d7d..4cff971a 100644 --- a/NMS/NMS-v1_14_R1/pom.xml +++ b/NMS/NMS-v1_14_R1/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.14 + 2.4.15 ../../ diff --git a/NMS/NMS-v1_14_R1/src/com/songoda/core/nms/v1_14_R1/nbt/NBTCompoundImpl.java b/NMS/NMS-v1_14_R1/src/com/songoda/core/nms/v1_14_R1/nbt/NBTCompoundImpl.java index cfdde057..6fb0864f 100644 --- a/NMS/NMS-v1_14_R1/src/com/songoda/core/nms/v1_14_R1/nbt/NBTCompoundImpl.java +++ b/NMS/NMS-v1_14_R1/src/com/songoda/core/nms/v1_14_R1/nbt/NBTCompoundImpl.java @@ -86,6 +86,13 @@ public class NBTCompoundImpl implements NBTCompound { return this; } + @Override + public NBTCompound addNewCompound(String tag) { + NBTTagCompound newCompound = new NBTTagCompound(); + compound.set(tag, newCompound); + return new NBTCompoundImpl(newCompound); + } + @Override public boolean has(String tag) { return compound.hasKey(tag); diff --git a/NMS/NMS-v1_15_R1/pom.xml b/NMS/NMS-v1_15_R1/pom.xml index 57b98fdd..2f521d08 100644 --- a/NMS/NMS-v1_15_R1/pom.xml +++ b/NMS/NMS-v1_15_R1/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.14 + 2.4.15 ../../ diff --git a/NMS/NMS-v1_15_R1/src/com/songoda/core/nms/v1_15_R1/nbt/NBTCompoundImpl.java b/NMS/NMS-v1_15_R1/src/com/songoda/core/nms/v1_15_R1/nbt/NBTCompoundImpl.java index 1337a4a0..101737bc 100644 --- a/NMS/NMS-v1_15_R1/src/com/songoda/core/nms/v1_15_R1/nbt/NBTCompoundImpl.java +++ b/NMS/NMS-v1_15_R1/src/com/songoda/core/nms/v1_15_R1/nbt/NBTCompoundImpl.java @@ -86,6 +86,13 @@ public class NBTCompoundImpl implements NBTCompound { return this; } + @Override + public NBTCompound addNewCompound(String tag) { + NBTTagCompound newCompound = new NBTTagCompound(); + compound.set(tag, newCompound); + return new NBTCompoundImpl(newCompound); + } + @Override public boolean has(String tag) { return compound.hasKey(tag); diff --git a/NMS/NMS-v1_16_R1/pom.xml b/NMS/NMS-v1_16_R1/pom.xml index c5e14ce0..32455657 100644 --- a/NMS/NMS-v1_16_R1/pom.xml +++ b/NMS/NMS-v1_16_R1/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.14 + 2.4.15 ../../ diff --git a/NMS/NMS-v1_16_R1/src/com/songoda/core/nms/v1_16_R1/nbt/NBTCompoundImpl.java b/NMS/NMS-v1_16_R1/src/com/songoda/core/nms/v1_16_R1/nbt/NBTCompoundImpl.java index 290539dc..b2206ad1 100644 --- a/NMS/NMS-v1_16_R1/src/com/songoda/core/nms/v1_16_R1/nbt/NBTCompoundImpl.java +++ b/NMS/NMS-v1_16_R1/src/com/songoda/core/nms/v1_16_R1/nbt/NBTCompoundImpl.java @@ -86,6 +86,13 @@ public class NBTCompoundImpl implements NBTCompound { return this; } + @Override + public NBTCompound addNewCompound(String tag) { + NBTTagCompound newCompound = new NBTTagCompound(); + compound.set(tag, newCompound); + return new NBTCompoundImpl(newCompound); + } + @Override public boolean has(String tag) { return compound.hasKey(tag); diff --git a/NMS/NMS-v1_16_R2/pom.xml b/NMS/NMS-v1_16_R2/pom.xml index 2a167bbc..504a1499 100644 --- a/NMS/NMS-v1_16_R2/pom.xml +++ b/NMS/NMS-v1_16_R2/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.14 + 2.4.15 ../../ diff --git a/NMS/NMS-v1_16_R2/src/com/songoda/core/nms/v1_16_R2/nbt/NBTCompoundImpl.java b/NMS/NMS-v1_16_R2/src/com/songoda/core/nms/v1_16_R2/nbt/NBTCompoundImpl.java index c5b033b4..db8be7ea 100644 --- a/NMS/NMS-v1_16_R2/src/com/songoda/core/nms/v1_16_R2/nbt/NBTCompoundImpl.java +++ b/NMS/NMS-v1_16_R2/src/com/songoda/core/nms/v1_16_R2/nbt/NBTCompoundImpl.java @@ -86,6 +86,13 @@ public class NBTCompoundImpl implements NBTCompound { return this; } + @Override + public NBTCompound addNewCompound(String tag) { + NBTTagCompound newCompound = new NBTTagCompound(); + compound.set(tag, newCompound); + return new NBTCompoundImpl(newCompound); + } + @Override public boolean has(String tag) { return compound.hasKey(tag); diff --git a/NMS/NMS-v1_8_R1/pom.xml b/NMS/NMS-v1_8_R1/pom.xml index 125eec52..e394fa12 100644 --- a/NMS/NMS-v1_8_R1/pom.xml +++ b/NMS/NMS-v1_8_R1/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.14 + 2.4.15 ../../ diff --git a/NMS/NMS-v1_8_R1/src/com/songoda/core/nms/v1_8_R1/nbt/NBTCompoundImpl.java b/NMS/NMS-v1_8_R1/src/com/songoda/core/nms/v1_8_R1/nbt/NBTCompoundImpl.java index d8f51038..99a82672 100644 --- a/NMS/NMS-v1_8_R1/src/com/songoda/core/nms/v1_8_R1/nbt/NBTCompoundImpl.java +++ b/NMS/NMS-v1_8_R1/src/com/songoda/core/nms/v1_8_R1/nbt/NBTCompoundImpl.java @@ -87,6 +87,13 @@ public class NBTCompoundImpl implements NBTCompound { return this; } + @Override + public NBTCompound addNewCompound(String tag) { + NBTTagCompound newCompound = new NBTTagCompound(); + compound.set(tag, newCompound); + return new NBTCompoundImpl(newCompound); + } + @Override public boolean has(String tag) { return compound.hasKey(tag); diff --git a/NMS/NMS-v1_8_R2/pom.xml b/NMS/NMS-v1_8_R2/pom.xml index fdb75c86..a8085992 100644 --- a/NMS/NMS-v1_8_R2/pom.xml +++ b/NMS/NMS-v1_8_R2/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.14 + 2.4.15 ../../ diff --git a/NMS/NMS-v1_8_R2/src/com/songoda/core/nms/v1_8_R2/nbt/NBTCompoundImpl.java b/NMS/NMS-v1_8_R2/src/com/songoda/core/nms/v1_8_R2/nbt/NBTCompoundImpl.java index b9464093..d1ebb89d 100644 --- a/NMS/NMS-v1_8_R2/src/com/songoda/core/nms/v1_8_R2/nbt/NBTCompoundImpl.java +++ b/NMS/NMS-v1_8_R2/src/com/songoda/core/nms/v1_8_R2/nbt/NBTCompoundImpl.java @@ -87,6 +87,13 @@ public class NBTCompoundImpl implements NBTCompound { return this; } + @Override + public NBTCompound addNewCompound(String tag) { + NBTTagCompound newCompound = new NBTTagCompound(); + compound.set(tag, newCompound); + return new NBTCompoundImpl(newCompound); + } + @Override public boolean has(String tag) { return compound.hasKey(tag); diff --git a/NMS/NMS-v1_8_R3/pom.xml b/NMS/NMS-v1_8_R3/pom.xml index 18866a72..ac39aa49 100644 --- a/NMS/NMS-v1_8_R3/pom.xml +++ b/NMS/NMS-v1_8_R3/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.14 + 2.4.15 ../../ diff --git a/NMS/NMS-v1_8_R3/src/com/songoda/core/nms/v1_8_R3/nbt/NBTCompoundImpl.java b/NMS/NMS-v1_8_R3/src/com/songoda/core/nms/v1_8_R3/nbt/NBTCompoundImpl.java index b8525857..2050e84f 100644 --- a/NMS/NMS-v1_8_R3/src/com/songoda/core/nms/v1_8_R3/nbt/NBTCompoundImpl.java +++ b/NMS/NMS-v1_8_R3/src/com/songoda/core/nms/v1_8_R3/nbt/NBTCompoundImpl.java @@ -87,6 +87,13 @@ public class NBTCompoundImpl implements NBTCompound { return this; } + @Override + public NBTCompound addNewCompound(String tag) { + NBTTagCompound newCompound = new NBTTagCompound(); + compound.set(tag, newCompound); + return new NBTCompoundImpl(newCompound); + } + @Override public boolean has(String tag) { return compound.hasKey(tag); diff --git a/NMS/NMS-v1_9_R1/pom.xml b/NMS/NMS-v1_9_R1/pom.xml index 2df1fcab..29d51973 100644 --- a/NMS/NMS-v1_9_R1/pom.xml +++ b/NMS/NMS-v1_9_R1/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.14 + 2.4.15 ../../ diff --git a/NMS/NMS-v1_9_R1/src/com/songoda/core/nms/v1_9_R1/nbt/NBTCompoundImpl.java b/NMS/NMS-v1_9_R1/src/com/songoda/core/nms/v1_9_R1/nbt/NBTCompoundImpl.java index a725d3ab..771863d1 100644 --- a/NMS/NMS-v1_9_R1/src/com/songoda/core/nms/v1_9_R1/nbt/NBTCompoundImpl.java +++ b/NMS/NMS-v1_9_R1/src/com/songoda/core/nms/v1_9_R1/nbt/NBTCompoundImpl.java @@ -86,6 +86,13 @@ public class NBTCompoundImpl implements NBTCompound { return this; } + @Override + public NBTCompound addNewCompound(String tag) { + NBTTagCompound newCompound = new NBTTagCompound(); + compound.set(tag, newCompound); + return new NBTCompoundImpl(newCompound); + } + @Override public boolean has(String tag) { return compound.hasKey(tag); diff --git a/NMS/NMS-v1_9_R2/pom.xml b/NMS/NMS-v1_9_R2/pom.xml index 9e7f374f..1ffbd321 100644 --- a/NMS/NMS-v1_9_R2/pom.xml +++ b/NMS/NMS-v1_9_R2/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.14 + 2.4.15 ../../ diff --git a/NMS/NMS-v1_9_R2/src/com/songoda/core/nms/v1_9_R2/nbt/NBTCompoundImpl.java b/NMS/NMS-v1_9_R2/src/com/songoda/core/nms/v1_9_R2/nbt/NBTCompoundImpl.java index 661ab9a2..c60a5449 100644 --- a/NMS/NMS-v1_9_R2/src/com/songoda/core/nms/v1_9_R2/nbt/NBTCompoundImpl.java +++ b/NMS/NMS-v1_9_R2/src/com/songoda/core/nms/v1_9_R2/nbt/NBTCompoundImpl.java @@ -86,6 +86,13 @@ public class NBTCompoundImpl implements NBTCompound { return this; } + @Override + public NBTCompound addNewCompound(String tag) { + NBTTagCompound newCompound = new NBTTagCompound(); + compound.set(tag, newCompound); + return new NBTCompoundImpl(newCompound); + } + @Override public boolean has(String tag) { return compound.hasKey(tag); diff --git a/pom.xml b/pom.xml index af7cd49b..32428b9c 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ com.songoda SongodaCore-Modules - 2.4.14 + 2.4.15 4.0.0 pom