mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-02-17 12:01:26 +01:00
Added remove option.
This commit is contained in:
parent
78877cf246
commit
f509f24473
@ -16,6 +16,8 @@ public interface NBTCompound {
|
|||||||
|
|
||||||
NBTCompound set(String tag, byte b);
|
NBTCompound set(String tag, byte b);
|
||||||
|
|
||||||
|
NBTCompound remove(String tag);
|
||||||
|
|
||||||
boolean has(String tag);
|
boolean has(String tag);
|
||||||
|
|
||||||
NBTObject getNBTObject(String tag);
|
NBTObject getNBTObject(String tag);
|
||||||
|
@ -58,6 +58,12 @@ public class NBTCompoundImpl implements NBTCompound {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public NBTCompound remove(String tag) {
|
||||||
|
compound.remove(tag);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean has(String tag) {
|
public boolean has(String tag) {
|
||||||
return compound.hasKey(tag);
|
return compound.hasKey(tag);
|
||||||
|
@ -58,6 +58,12 @@ public class NBTCompoundImpl implements NBTCompound {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public NBTCompound remove(String tag) {
|
||||||
|
compound.remove(tag);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean has(String tag) {
|
public boolean has(String tag) {
|
||||||
return compound.hasKey(tag);
|
return compound.hasKey(tag);
|
||||||
|
@ -58,6 +58,12 @@ public class NBTCompoundImpl implements NBTCompound {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public NBTCompound remove(String tag) {
|
||||||
|
compound.remove(tag);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean has(String tag) {
|
public boolean has(String tag) {
|
||||||
return compound.hasKey(tag);
|
return compound.hasKey(tag);
|
||||||
|
@ -58,6 +58,12 @@ public class NBTCompoundImpl implements NBTCompound {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public NBTCompound remove(String tag) {
|
||||||
|
compound.remove(tag);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean has(String tag) {
|
public boolean has(String tag) {
|
||||||
return compound.hasKey(tag);
|
return compound.hasKey(tag);
|
||||||
|
@ -58,6 +58,12 @@ public class NBTCompoundImpl implements NBTCompound {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public NBTCompound remove(String tag) {
|
||||||
|
compound.remove(tag);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean has(String tag) {
|
public boolean has(String tag) {
|
||||||
return compound.hasKey(tag);
|
return compound.hasKey(tag);
|
||||||
|
@ -58,6 +58,12 @@ public class NBTCompoundImpl implements NBTCompound {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public NBTCompound remove(String tag) {
|
||||||
|
compound.remove(tag);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean has(String tag) {
|
public boolean has(String tag) {
|
||||||
return compound.hasKey(tag);
|
return compound.hasKey(tag);
|
||||||
|
@ -61,6 +61,12 @@ public class NBTCompoundImpl implements NBTCompound {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public NBTCompound remove(String tag) {
|
||||||
|
compound.remove(tag);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean has(String tag) {
|
public boolean has(String tag) {
|
||||||
return compound.hasKey(tag);
|
return compound.hasKey(tag);
|
||||||
|
@ -58,6 +58,12 @@ public class NBTCompoundImpl implements NBTCompound {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public NBTCompound remove(String tag) {
|
||||||
|
compound.remove(tag);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean has(String tag) {
|
public boolean has(String tag) {
|
||||||
return compound.hasKey(tag);
|
return compound.hasKey(tag);
|
||||||
|
@ -58,6 +58,12 @@ public class NBTCompoundImpl implements NBTCompound {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public NBTCompound remove(String tag) {
|
||||||
|
compound.remove(tag);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean has(String tag) {
|
public boolean has(String tag) {
|
||||||
return compound.hasKey(tag);
|
return compound.hasKey(tag);
|
||||||
|
@ -58,6 +58,12 @@ public class NBTCompoundImpl implements NBTCompound {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public NBTCompound remove(String tag) {
|
||||||
|
compound.remove(tag);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean has(String tag) {
|
public boolean has(String tag) {
|
||||||
return compound.hasKey(tag);
|
return compound.hasKey(tag);
|
||||||
|
@ -58,6 +58,12 @@ public class NBTCompoundImpl implements NBTCompound {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public NBTCompound remove(String tag) {
|
||||||
|
compound.remove(tag);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean has(String tag) {
|
public boolean has(String tag) {
|
||||||
return compound.hasKey(tag);
|
return compound.hasKey(tag);
|
||||||
|
@ -58,6 +58,12 @@ public class NBTCompoundImpl implements NBTCompound {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public NBTCompound remove(String tag) {
|
||||||
|
compound.remove(tag);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean has(String tag) {
|
public boolean has(String tag) {
|
||||||
return compound.hasKey(tag);
|
return compound.hasKey(tag);
|
||||||
|
Loading…
Reference in New Issue
Block a user