Interface NBTWrapper
public interface NBTWrapper
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic net.minecraft.nbt.Tagb(byte v) static net.minecraft.nbt.Tagba(byte[] v) static net.minecraft.nbt.TagbyteArrayTag(byte[] v) static net.minecraft.nbt.TagbyteTag(byte v) static net.minecraft.nbt.Tagstatic net.minecraft.nbt.TagcompoundTag(dev.latvian.mods.rhino.Context cx, Map<?, ?> map) static net.minecraft.nbt.Tagd(double v) static net.minecraft.nbt.TagdoubleTag(double v) static net.minecraft.nbt.Tagf(float v) static net.minecraft.nbt.TagfloatTag(float v) static @Nullable ObjectfromTag(@Nullable net.minecraft.nbt.Tag t) static net.minecraft.nbt.Tagi(int v) static net.minecraft.nbt.Tagia(int[] v) static net.minecraft.nbt.TagintArrayTag(int[] v) static net.minecraft.nbt.TagintTag(int v) static booleanstatic booleanstatic net.minecraft.nbt.Tagl(long v) static net.minecraft.nbt.Tagla(long[] v) static net.minecraft.nbt.TaglistTag()static net.minecraft.nbt.Tagstatic net.minecraft.nbt.TaglongArrayTag(long[] v) static net.minecraft.nbt.TaglongTag(long v) static @Nullable OrderedCompoundTagread(net.minecraft.network.FriendlyByteBuf buf) static net.minecraft.nbt.Tags(short v) static net.minecraft.nbt.TagshortTag(short v) static net.minecraft.nbt.Tagstatic com.google.gson.JsonElementtoJson(@Nullable net.minecraft.nbt.Tag t) static @Nullable net.minecraft.nbt.TagtoTag(@Nullable net.minecraft.nbt.Tag tag) static @Nullable net.minecraft.nbt.Tagstatic @Nullable net.minecraft.nbt.CollectionTag<?> wrapCollection(dev.latvian.mods.rhino.Context cx, @Nullable Object v) static @Nullable net.minecraft.nbt.CompoundTagwrapCompound(dev.latvian.mods.rhino.Context cx, @Nullable Object v) static @Nullable net.minecraft.nbt.ListTagwrapListTag(dev.latvian.mods.rhino.Context cx, @Nullable Object list)
-
Method Details
-
isTagCompound
-
isTagCollection
-
fromTag
-
toTag
@Nullable static @Nullable net.minecraft.nbt.Tag toTag(@Nullable @Nullable net.minecraft.nbt.Tag tag) -
wrap
@Nullable static @Nullable net.minecraft.nbt.Tag wrap(dev.latvian.mods.rhino.Context cx, @Nullable @Nullable Object v) -
wrapCompound
@Nullable static @Nullable net.minecraft.nbt.CompoundTag wrapCompound(dev.latvian.mods.rhino.Context cx, @Nullable @Nullable Object v) -
wrapCollection
@Nullable static @Nullable net.minecraft.nbt.CollectionTag<?> wrapCollection(dev.latvian.mods.rhino.Context cx, @Nullable @Nullable Object v) -
wrapListTag
@Nullable static @Nullable net.minecraft.nbt.ListTag wrapListTag(dev.latvian.mods.rhino.Context cx, @Nullable @Nullable Object list) -
compoundTag
static net.minecraft.nbt.Tag compoundTag() -
compoundTag
-
listTag
static net.minecraft.nbt.Tag listTag() -
listTag
-
byteTag
static net.minecraft.nbt.Tag byteTag(byte v) -
b
static net.minecraft.nbt.Tag b(byte v) -
shortTag
static net.minecraft.nbt.Tag shortTag(short v) -
s
static net.minecraft.nbt.Tag s(short v) -
intTag
static net.minecraft.nbt.Tag intTag(int v) -
i
static net.minecraft.nbt.Tag i(int v) -
longTag
static net.minecraft.nbt.Tag longTag(long v) -
l
static net.minecraft.nbt.Tag l(long v) -
floatTag
static net.minecraft.nbt.Tag floatTag(float v) -
f
static net.minecraft.nbt.Tag f(float v) -
doubleTag
static net.minecraft.nbt.Tag doubleTag(double v) -
d
static net.minecraft.nbt.Tag d(double v) -
stringTag
-
intArrayTag
static net.minecraft.nbt.Tag intArrayTag(int[] v) -
ia
static net.minecraft.nbt.Tag ia(int[] v) -
longArrayTag
static net.minecraft.nbt.Tag longArrayTag(long[] v) -
la
static net.minecraft.nbt.Tag la(long[] v) -
byteArrayTag
static net.minecraft.nbt.Tag byteArrayTag(byte[] v) -
ba
static net.minecraft.nbt.Tag ba(byte[] v) -
toJson
static com.google.gson.JsonElement toJson(@Nullable @Nullable net.minecraft.nbt.Tag t) -
read
-