public class RedstoneLinkTileEntity extends SmartTileEntity
| Constructor and Description |
|---|
RedstoneLinkTileEntity(net.minecraft.tileentity.TileEntityType<? extends RedstoneLinkTileEntity> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBehaviours(java.util.List<TileEntityBehaviour> behaviours) |
void |
addBehavioursDeferred(java.util.List<TileEntityBehaviour> behaviours)
Gets called just before reading tile data for behaviours.
|
protected void |
createLink() |
protected void |
fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
int |
getReceivedSignal() |
int |
getSignal() |
protected java.lang.Boolean |
isTransmitterBlock() |
void |
setSignal(int power) |
void |
tick() |
void |
transmit(int strength) |
void |
write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
attachBehaviourLate, canPlayerUse, forEachBehaviour, getBehaviour, getRequiredItems, getWorld, initialize, 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, waitpublic RedstoneLinkTileEntity(net.minecraft.tileentity.TileEntityType<? extends RedstoneLinkTileEntity> type)
public void addBehaviours(java.util.List<TileEntityBehaviour> behaviours)
addBehaviours in class SmartTileEntitypublic void addBehavioursDeferred(java.util.List<TileEntityBehaviour> behaviours)
SmartTileEntityaddBehavioursDeferred in class SmartTileEntityprotected void createLink()
public int getSignal()
public void setSignal(int power)
public void transmit(int strength)
public void write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntitywrite in class SmartTileEntityprotected void fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntityfromTag in class SmartTileEntitypublic void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class SmartTileEntityprotected java.lang.Boolean isTransmitterBlock()
public int getReceivedSignal()