Class TileEntityBanner


  • public class TileEntityBanner
    extends TileEntity
    + 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

      • TileEntityBanner

        public TileEntityBanner()
    • Method Detail

      • setItemValues

        public void setItemValues​(ItemStack stack)
      • func_181020_a

        public static void func_181020_a​(NBTTagCompound parNBTTagCompound,
                                         int parInt1,
                                         NBTTagList parNBTTagList)
      • getDescriptionPacket

        public Packet getDescriptionPacket()
        + Allows for a specialized description packet to be created. This is often used to sync tile entity data from the server to the client easily. For example this is used by signs to synchronise the text to be displayed.
        Overrides:
        getDescriptionPacket in class TileEntity
      • getBaseColor

        public int getBaseColor()
      • getBaseColor

        public static int getBaseColor​(ItemStack stack)
      • getPatterns

        public static int getPatterns​(ItemStack stack)
        + Retrieves the amount of patterns stored on an ItemStack. If the tag does not exist this value will be 0.
      • getPatternList

        public java.util.List<TileEntityBanner.EnumBannerPattern> getPatternList()
        + Retrieves the list of patterns for this tile entity. The banner data will be initialized/refreshed before this happens.
      • func_181021_d

        public NBTTagList func_181021_d()
      • getColorList

        public java.util.List<EnumDyeColor> getColorList()
        + Retrieves the list of colors for this tile entity. The banner data will be initialized/refreshed before this happens.
      • func_175116_e

        public java.lang.String func_175116_e()
      • removeBannerData

        public static void removeBannerData​(ItemStack stack)
        + Removes all the banner related data from a provided instance of ItemStack.