Package net.minecraft.tileentity
Class TileEntityBanner
- java.lang.Object
-
- net.minecraft.tileentity.TileEntity
-
- net.minecraft.tileentity.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)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TileEntityBanner.EnumBannerPattern
-
Field Summary
-
Fields inherited from class net.minecraft.tileentity.TileEntity
blockType, pos, tileEntityInvalid, worldObj
-
-
Constructor Summary
Constructors Constructor Description TileEntityBanner()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
func_175116_e()
static void
func_181020_a(NBTTagCompound parNBTTagCompound, int parInt1, NBTTagList parNBTTagList)
NBTTagList
func_181021_d()
int
getBaseColor()
static int
getBaseColor(ItemStack stack)
java.util.List<EnumDyeColor>
getColorList()
+ Retrieves the list of colors for this tile entity.Packet
getDescriptionPacket()
+ Allows for a specialized description packet to be created.java.util.List<TileEntityBanner.EnumBannerPattern>
getPatternList()
+ Retrieves the list of patterns for this tile entity.static int
getPatterns(ItemStack stack)
+ Retrieves the amount of patterns stored on an ItemStack.void
readFromNBT(NBTTagCompound nbttagcompound)
static void
removeBannerData(ItemStack stack)
+ Removes all the banner related data from a provided instance of ItemStack.void
setItemValues(ItemStack stack)
void
writeToNBT(NBTTagCompound nbttagcompound)
-
Methods inherited from class net.minecraft.tileentity.TileEntity
addInfoToCrashReport, createAndLoadEntity, func_183000_F, getBlockMetadata, getBlockType, getDistanceSq, getMaxRenderDistanceSquared, getPos, getWorld, hasWorldObj, invalidate, isInvalid, markDirty, receiveClientEvent, setPos, setWorldObj, updateContainingBlockInfo, validate
-
-
-
-
Method Detail
-
setItemValues
public void setItemValues(ItemStack stack)
-
writeToNBT
public void writeToNBT(NBTTagCompound nbttagcompound)
- Overrides:
writeToNBT
in classTileEntity
-
func_181020_a
public static void func_181020_a(NBTTagCompound parNBTTagCompound, int parInt1, NBTTagList parNBTTagList)
-
readFromNBT
public void readFromNBT(NBTTagCompound nbttagcompound)
- Overrides:
readFromNBT
in classTileEntity
-
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 classTileEntity
-
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.
-
-