Class NBTTagList


  • public class NBTTagList
    extends NBTBase
    + This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
    • Constructor Detail

      • NBTTagList

        public NBTTagList()
    • Method Detail

      • getId

        public byte getId()
        + Gets the type byte for the tag.
        Specified by:
        getId in class NBTBase
      • toString

        public java.lang.String toString()
        Specified by:
        toString in class NBTBase
      • appendTag

        public void appendTag​(NBTBase nbt)
        + Adds the provided tag to the end of the list. There is no check to verify this tag is of the same type as any previous tag.
      • set

        public void set​(int idx,
                        NBTBase nbt)
        + Set the given index to the given tag
      • removeTag

        public NBTBase removeTag​(int i)
        + Removes a tag at the given index.
      • hasNoTags

        public boolean hasNoTags()
        + Return whether this compound has no tags.
        Overrides:
        hasNoTags in class NBTBase
      • getCompoundTagAt

        public NBTTagCompound getCompoundTagAt​(int i)
        + Retrieves the NBTTagCompound at the specified index in the list
      • getIntArrayAt

        public int[] getIntArrayAt​(int i)
      • getDoubleAt

        public double getDoubleAt​(int i)
      • getFloatAt

        public float getFloatAt​(int i)
      • getStringTagAt

        public java.lang.String getStringTagAt​(int i)
        + Retrieves the tag String value at the specified index in the list
      • get

        public NBTBase get​(int idx)
        + Get the tag at the given position
      • tagCount

        public int tagCount()
        + Returns the number of tags in the list.
      • copy

        public NBTBase copy()
        + Creates a clone of the tag.
        Specified by:
        copy in class NBTBase
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class NBTBase
      • getTagType

        public int getTagType()