public class TileEntitySign extends TileEntity implements ICommandSource
| Modifier and Type | Field and Description |
|---|---|
int |
lineBeingEdited |
ITextComponent[] |
signText |
pos, removed, worldINFINITE_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, validateareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT, shouldRenderInPassgetCapability, getCapabilitypublic final ITextComponent[] signText
public int lineBeingEdited
public NBTTagCompound write(NBTTagCompound compound)
write in class TileEntitypublic void read(NBTTagCompound compound)
read in class TileEntitypublic 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 TileEntitypublic NBTTagCompound getUpdateTag()
getUpdateTag in class TileEntitypublic boolean onlyOpsCanSetNbt()
onlyOpsCanSetNbt in class TileEntitypublic 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 ICommandSourcepublic CommandSource getCommandSource(@Nullable EntityPlayerMP playerIn)
public boolean shouldReceiveFeedback()
shouldReceiveFeedback in interface ICommandSourcepublic boolean shouldReceiveErrors()
shouldReceiveErrors in interface ICommandSourcepublic boolean allowLogging()
allowLogging in interface ICommandSource