Package net.minecraft.tileentity
Class TileEntityEnchantmentTable
- java.lang.Object
-
- net.minecraft.tileentity.TileEntity
-
- net.minecraft.tileentity.TileEntityEnchantmentTable
-
- All Implemented Interfaces:
ITickable
,IInteractionObject
,IWorldNameable
public class TileEntityEnchantmentTable extends TileEntity implements ITickable, IInteractionObject
+ 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)
-
-
Field Summary
Fields Modifier and Type Field Description float
bookRotation
float
bookRotationPrev
float
bookSpread
float
bookSpreadPrev
float
field_145924_q
float
field_145929_l
float
field_145932_k
float
pageFlip
float
pageFlipPrev
int
tickCount
-
Fields inherited from class net.minecraft.tileentity.TileEntity
blockType, pos, tileEntityInvalid, worldObj
-
-
Constructor Summary
Constructors Constructor Description TileEntityEnchantmentTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Container
createContainer(InventoryPlayer inventoryplayer, EntityPlayer var2)
IChatComponent
getDisplayName()
+ Get the formatted ChatComponent that will be used for the sender's username in chatjava.lang.String
getGuiID()
java.lang.String
getName()
+ Gets the name of this command sender (usually username, but possibly "Rcon")boolean
hasCustomName()
+ Returns true if this thing is namedvoid
readFromNBT(NBTTagCompound nbttagcompound)
void
setCustomName(java.lang.String customNameIn)
void
update()
+ Like the old updateEntity(), except more generic.void
writeToNBT(NBTTagCompound nbttagcompound)
-
Methods inherited from class net.minecraft.tileentity.TileEntity
addInfoToCrashReport, createAndLoadEntity, func_183000_F, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceSq, getMaxRenderDistanceSquared, getPos, getWorld, hasWorldObj, invalidate, isInvalid, markDirty, receiveClientEvent, setPos, setWorldObj, updateContainingBlockInfo, validate
-
-
-
-
Field Detail
-
tickCount
public int tickCount
-
pageFlip
public float pageFlip
-
pageFlipPrev
public float pageFlipPrev
-
field_145932_k
public float field_145932_k
-
field_145929_l
public float field_145929_l
-
bookSpread
public float bookSpread
-
bookSpreadPrev
public float bookSpreadPrev
-
bookRotation
public float bookRotation
-
bookRotationPrev
public float bookRotationPrev
-
field_145924_q
public float field_145924_q
-
-
Method Detail
-
writeToNBT
public void writeToNBT(NBTTagCompound nbttagcompound)
- Overrides:
writeToNBT
in classTileEntity
-
readFromNBT
public void readFromNBT(NBTTagCompound nbttagcompound)
- Overrides:
readFromNBT
in classTileEntity
-
update
public void update()
+ Like the old updateEntity(), except more generic.
-
getName
public java.lang.String getName()
+ Gets the name of this command sender (usually username, but possibly "Rcon")- Specified by:
getName
in interfaceIWorldNameable
-
hasCustomName
public boolean hasCustomName()
+ Returns true if this thing is named- Specified by:
hasCustomName
in interfaceIWorldNameable
-
setCustomName
public void setCustomName(java.lang.String customNameIn)
-
getDisplayName
public IChatComponent getDisplayName()
+ Get the formatted ChatComponent that will be used for the sender's username in chat- Specified by:
getDisplayName
in interfaceIWorldNameable
-
createContainer
public Container createContainer(InventoryPlayer inventoryplayer, EntityPlayer var2)
- Specified by:
createContainer
in interfaceIInteractionObject
-
getGuiID
public java.lang.String getGuiID()
- Specified by:
getGuiID
in interfaceIInteractionObject
-
-