@MethodsReturnNonnullByDefault public class EncasedFanTileEntity extends GeneratingKineticTileEntity implements IAirCurrentSource
IHaveGoggleInformation.Format| Modifier and Type | Field and Description |
|---|---|
AirCurrent |
airCurrent |
protected int |
airCurrentUpdateCooldown |
protected int |
entitySearchCooldown |
protected boolean |
isGenerator |
protected boolean |
updateAirFlow |
protected boolean |
updateGenerator |
reActivateSourcecachedBoundingBox, capacity, effects, lastCapacityProvided, lastStressApplied, network, networkDirty, overStressed, preventSpeedUpdate, source, speed, stress, updateSpeed, wasMovedcomponentSpacing, numberFormat, spacing| Constructor and Description |
|---|
EncasedFanTileEntity(net.minecraft.tileentity.TileEntityType<? extends EncasedFanTileEntity> type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
blockBelowIsHot() |
void |
blockInFrontChanged() |
float |
calculateAddedStressCapacity() |
float |
calculateStressApplied() |
protected void |
fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
AirCurrent |
getAirCurrent() |
net.minecraft.util.math.BlockPos |
getAirCurrentPos() |
net.minecraft.world.World |
getAirCurrentWorld() |
net.minecraft.util.Direction |
getAirFlowDirection() |
net.minecraft.util.Direction |
getAirflowOriginSide() |
float |
getGeneratedSpeed() |
boolean |
isSourceRemoved() |
void |
onSpeedChanged(float prevSpeed) |
void |
queueGeneratorUpdate() |
void |
tick() |
void |
updateChute() |
void |
updateGenerator() |
void |
write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
addToGoggleTooltip, applyNewSpeed, createNetworkId, notifyStressCapacityChange, removeSource, setSource, updateGeneratedRotationaddBehaviours, addPropagationLocations, addToTooltip, attachKinetics, canPropagateDiagonally, clearKineticInformation, convertToAngular, convertToDirection, convertToLinear, detachKinetics, getFlickerScore, getOrCreateNetwork, getRenderBoundingBox, getSpeed, getStressConfigKey, getTheoreticalSpeed, hasNetwork, hasSource, initialize, isCustomConnection, isNoisy, isOverStressed, isSource, isSpeedRequirementFulfilled, makeRenderBoundingBox, needsSpeedUpdate, propagateRotationTo, requestModelDataUpdate, setNetwork, setRemoved, setSpeed, switchToBlockState, tickAudio, updateFromNetwork, warnOfMovementaddBehavioursDeferred, attachBehaviourLate, canPlayerUse, forEachBehaviour, getBehaviour, getRequiredItems, getWorld, isFluidHandlerCap, isItemHandlerCap, isVirtual, lazyTick, load, markVirtual, readClientUpdate, removeBehaviour, save, sendToContainer, setLazyTickRate, 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, waitgetMaxDistance, getSpeedcontainedFluidTooltip, formatgetWorld, shouldRenderNormallypublic AirCurrent airCurrent
protected int airCurrentUpdateCooldown
protected int entitySearchCooldown
protected boolean isGenerator
protected boolean updateAirFlow
protected boolean updateGenerator
public EncasedFanTileEntity(net.minecraft.tileentity.TileEntityType<? extends EncasedFanTileEntity> type)
protected void fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntityfromTag in class KineticTileEntitypublic void write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntitywrite in class KineticTileEntitypublic float calculateAddedStressCapacity()
calculateAddedStressCapacity in class KineticTileEntitypublic float calculateStressApplied()
calculateStressApplied in class KineticTileEntitypublic float getGeneratedSpeed()
getGeneratedSpeed in class KineticTileEntitypublic void queueGeneratorUpdate()
public void updateGenerator()
public boolean blockBelowIsHot()
public AirCurrent getAirCurrent()
getAirCurrent in interface IAirCurrentSource@Nullable public net.minecraft.world.World getAirCurrentWorld()
getAirCurrentWorld in interface IAirCurrentSourcepublic net.minecraft.util.math.BlockPos getAirCurrentPos()
getAirCurrentPos in interface IAirCurrentSourcepublic net.minecraft.util.Direction getAirflowOriginSide()
getAirflowOriginSide in interface IAirCurrentSourcepublic net.minecraft.util.Direction getAirFlowDirection()
getAirFlowDirection in interface IAirCurrentSourcepublic boolean isSourceRemoved()
isSourceRemoved in interface IAirCurrentSourcepublic void onSpeedChanged(float prevSpeed)
onSpeedChanged in class KineticTileEntitypublic void updateChute()
public void blockInFrontChanged()
public void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class GeneratingKineticTileEntity