Interface NBTWrapper


public interface NBTWrapper
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static net.minecraft.nbt.Tag
    b(byte v)
     
    static net.minecraft.nbt.Tag
    ba(byte[] v)
     
    static net.minecraft.nbt.Tag
    byteArrayTag(byte[] v)
     
    static net.minecraft.nbt.Tag
    byteTag(byte v)
     
    static net.minecraft.nbt.Tag
     
    static net.minecraft.nbt.Tag
    compoundTag(dev.latvian.mods.rhino.Context cx, Map<?,?> map)
     
    static net.minecraft.nbt.Tag
    d(double v)
     
    static net.minecraft.nbt.Tag
    doubleTag(double v)
     
    static net.minecraft.nbt.Tag
    f(float v)
     
    static net.minecraft.nbt.Tag
    floatTag(float v)
     
    static @Nullable Object
    fromTag(@Nullable net.minecraft.nbt.Tag t)
     
    static net.minecraft.nbt.Tag
    i(int v)
     
    static net.minecraft.nbt.Tag
    ia(int[] v)
     
    static net.minecraft.nbt.Tag
    intArrayTag(int[] v)
     
    static net.minecraft.nbt.Tag
    intTag(int v)
     
    static boolean
     
    static boolean
     
    static net.minecraft.nbt.Tag
    l(long v)
     
    static net.minecraft.nbt.Tag
    la(long[] v)
     
    static net.minecraft.nbt.Tag
     
    static net.minecraft.nbt.Tag
    listTag(dev.latvian.mods.rhino.Context cx, List<?> list)
     
    static net.minecraft.nbt.Tag
    longArrayTag(long[] v)
     
    static net.minecraft.nbt.Tag
    longTag(long v)
     
    static @Nullable OrderedCompoundTag
    read(net.minecraft.network.FriendlyByteBuf buf)
     
    static net.minecraft.nbt.Tag
    s(short v)
     
    static net.minecraft.nbt.Tag
    shortTag(short v)
     
    static net.minecraft.nbt.Tag
     
    static com.google.gson.JsonElement
    toJson(@Nullable net.minecraft.nbt.Tag t)
     
    static @Nullable net.minecraft.nbt.Tag
    toTag(@Nullable net.minecraft.nbt.Tag tag)
     
    static @Nullable net.minecraft.nbt.Tag
    wrap(dev.latvian.mods.rhino.Context cx, @Nullable Object v)
     
    static @Nullable net.minecraft.nbt.CollectionTag<?>
    wrapCollection(dev.latvian.mods.rhino.Context cx, @Nullable Object v)
     
    static @Nullable net.minecraft.nbt.CompoundTag
    wrapCompound(dev.latvian.mods.rhino.Context cx, @Nullable Object v)
     
    static @Nullable net.minecraft.nbt.ListTag
    wrapListTag(dev.latvian.mods.rhino.Context cx, @Nullable Object list)
     
  • Method Details

    • isTagCompound

      static boolean isTagCompound(Object o)
    • isTagCollection

      static boolean isTagCollection(Object o)
    • fromTag

      @Nullable static @Nullable Object fromTag(@Nullable @Nullable net.minecraft.nbt.Tag t)
    • 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

      static net.minecraft.nbt.Tag compoundTag(dev.latvian.mods.rhino.Context cx, Map<?,?> map)
    • listTag

      static net.minecraft.nbt.Tag listTag()
    • listTag

      static net.minecraft.nbt.Tag listTag(dev.latvian.mods.rhino.Context cx, List<?> list)
    • 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

      static net.minecraft.nbt.Tag stringTag(String v)
    • 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

      @Nullable static @Nullable OrderedCompoundTag read(net.minecraft.network.FriendlyByteBuf buf)