public class AnalogLeverTileEntity extends SmartTileEntity implements IHaveGoggleInformation, com.jozufozu.flywheel.backend.instancing.IInstanceRendered
IHaveGoggleInformation.FormatcomponentSpacing, numberFormat, spacing| Constructor and Description |
|---|
AnalogLeverTileEntity(net.minecraft.tileentity.TileEntityType<? extends AnalogLeverTileEntity> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBehaviours(java.util.List<TileEntityBehaviour> behaviours) |
boolean |
addToGoggleTooltip(java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
boolean isPlayerSneaking)
this method will be called when looking at a TileEntity that implemented this
interface
|
void |
changeState(boolean back) |
protected void |
fromTag(net.minecraft.block.BlockState blockState,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
int |
getState() |
void |
initialize() |
void |
tick() |
void |
write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
addBehavioursDeferred, attachBehaviourLate, canPlayerUse, forEachBehaviour, getBehaviour, getRequiredItems, getWorld, isFluidHandlerCap, isItemHandlerCap, isVirtual, lazyTick, load, markVirtual, readClientUpdate, removeBehaviour, save, sendToContainer, setLazyTickRate, setRemoved, writeSafe, writeToClientcauseBlockUpdate, containedChunk, getTileData, getUpdatePacket, getUpdateTag, handleUpdateTag, notifyUpdate, onDataPacket, packetTarget, sendDataclearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getType, getViewDistance, hasLevel, isRemoved, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, setChanged, setLevelAndPosition, setPosition, triggerEventareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainedFluidTooltip, formatgetWorld, shouldRenderNormallypublic AnalogLeverTileEntity(net.minecraft.tileentity.TileEntityType<? extends AnalogLeverTileEntity> type)
public void write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntitywrite in class SmartTileEntityprotected void fromTag(net.minecraft.block.BlockState blockState,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntityfromTag in class SmartTileEntitypublic void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class SmartTileEntitypublic void initialize()
initialize in class SmartTileEntitypublic void addBehaviours(java.util.List<TileEntityBehaviour> behaviours)
addBehaviours in class SmartTileEntitypublic void changeState(boolean back)
public boolean addToGoggleTooltip(java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
boolean isPlayerSneaking)
IHaveGoggleInformationaddToGoggleTooltip in interface IHaveGoggleInformationtrue if the tooltip creation was successful and should be displayed,
or false if the overlay should not be displayedpublic int getState()