public class TileEntitySign extends TileEntity implements ICommandSource
Modifier and Type | Field and Description |
---|---|
int |
lineBeingEdited |
ITextComponent[] |
signText |
pos, removed, world
INFINITE_EXTENT_AABB
Constructor and Description |
---|
TileEntitySign() |
Modifier and Type | Method and Description |
---|---|
boolean |
allowLogging() |
boolean |
executeCommand(EntityPlayer playerIn) |
java.lang.String |
func_212364_a(int p_212364_1_,
java.util.function.Function<ITextComponent,java.lang.String> p_212364_2_) |
void |
func_212365_a(int p_212365_1_,
ITextComponent p_212365_2_) |
ITextComponent |
func_212366_a(int p_212366_1_) |
CommandSource |
getCommandSource(EntityPlayerMP playerIn) |
boolean |
getIsEditable() |
EntityPlayer |
getPlayer() |
SPacketUpdateTileEntity |
getUpdatePacket() |
NBTTagCompound |
getUpdateTag() |
boolean |
onlyOpsCanSetNbt() |
void |
read(NBTTagCompound compound) |
void |
sendMessage(ITextComponent component) |
void |
setEditable(boolean isEditableIn) |
void |
setPlayer(EntityPlayer playerIn) |
boolean |
shouldReceiveErrors() |
boolean |
shouldReceiveFeedback() |
NBTTagCompound |
write(NBTTagCompound compound) |
addInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, receiveClientEvent, remove, rotate, setPos, setWorld, updateContainingBlockInfo, validate
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT, shouldRenderInPass
getCapability, getCapability
public final ITextComponent[] signText
public int lineBeingEdited
public NBTTagCompound write(NBTTagCompound compound)
write
in class TileEntity
public void read(NBTTagCompound compound)
read
in class TileEntity
public ITextComponent func_212366_a(int p_212366_1_)
public void func_212365_a(int p_212365_1_, ITextComponent p_212365_2_)
@Nullable public java.lang.String func_212364_a(int p_212364_1_, java.util.function.Function<ITextComponent,java.lang.String> p_212364_2_)
@Nullable public SPacketUpdateTileEntity getUpdatePacket()
getUpdatePacket
in class TileEntity
public NBTTagCompound getUpdateTag()
getUpdateTag
in class TileEntity
public boolean onlyOpsCanSetNbt()
onlyOpsCanSetNbt
in class TileEntity
public boolean getIsEditable()
public void setEditable(boolean isEditableIn)
public void setPlayer(EntityPlayer playerIn)
public EntityPlayer getPlayer()
public boolean executeCommand(EntityPlayer playerIn)
public void sendMessage(ITextComponent component)
sendMessage
in interface ICommandSource
public CommandSource getCommandSource(@Nullable EntityPlayerMP playerIn)
public boolean shouldReceiveFeedback()
shouldReceiveFeedback
in interface ICommandSource
public boolean shouldReceiveErrors()
shouldReceiveErrors
in interface ICommandSource
public boolean allowLogging()
allowLogging
in interface ICommandSource