java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped<T>
mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<T>
mods.thecomputerizer.theimpossiblelibrary.api.tag.ListTagAPI<net.minecraft.nbt.ListTag>
mods.thecomputerizer.theimpossiblelibrary.shared.v18.m2.tag.ListTag1_18_2
All Implemented Interfaces:
Iterable<mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<?>>, mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor, mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped<net.minecraft.nbt.ListTag>

public class ListTag1_18_2 extends mods.thecomputerizer.theimpossiblelibrary.api.tag.ListTagAPI<net.minecraft.nbt.ListTag>
  • Field Summary

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped

    wrapped

    Fields inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor

    FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_LATER, V21, V21_OR_LATER
  • Constructor Summary

    Constructors
    Constructor
    Description
    ListTag1_18_2(net.minecraft.nbt.ListTag tag)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addTag(mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<?> tag)
     
     
     
     
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    Iterable<mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<?>>
     

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.tag.ListTagAPI

    iterator

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI

    write

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped

    equals, getWrapped, getWrappedClass, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator

    Methods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped

    unwrap
  • Constructor Details

    • ListTag1_18_2

      public ListTag1_18_2(net.minecraft.nbt.ListTag tag)
  • Method Details

    • addTag

      public void addTag(mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<?> tag)
      Specified by:
      addTag in class mods.thecomputerizer.theimpossiblelibrary.api.tag.ListTagAPI<net.minecraft.nbt.ListTag>
    • asCompoundTag

      public CompoundTag1_18_2 asCompoundTag()
      Specified by:
      asCompoundTag in class mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<net.minecraft.nbt.ListTag>
    • asListTag

      public ListTag1_18_2 asListTag()
      Specified by:
      asListTag in class mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<net.minecraft.nbt.ListTag>
    • asPrimitiveTag

      public PrimitiveTag1_18_2 asPrimitiveTag()
      Specified by:
      asPrimitiveTag in class mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<net.minecraft.nbt.ListTag>
    • asStringTag

      public StringTag1_18_2 asStringTag()
      Specified by:
      asStringTag in class mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<net.minecraft.nbt.ListTag>
    • isCompound

      public boolean isCompound()
      Specified by:
      isCompound in class mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<net.minecraft.nbt.ListTag>
    • isList

      public boolean isList()
      Specified by:
      isList in class mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<net.minecraft.nbt.ListTag>
    • isPrimitive

      public boolean isPrimitive()
      Specified by:
      isPrimitive in class mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<net.minecraft.nbt.ListTag>
    • isString

      public boolean isString()
      Specified by:
      isString in class mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<net.minecraft.nbt.ListTag>
    • iterable

      public Iterable<mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<?>> iterable()
      Specified by:
      iterable in class mods.thecomputerizer.theimpossiblelibrary.api.tag.ListTagAPI<net.minecraft.nbt.ListTag>