public class HandCrankTileEntity extends GeneratingKineticTileEntity
IHaveGoggleInformation.Format| Modifier and Type | Field and Description |
|---|---|
boolean |
backwards |
float |
chasingVelocity |
float |
independentAngle |
int |
inUse |
reActivateSourcecachedBoundingBox, capacity, effects, lastCapacityProvided, lastStressApplied, network, networkDirty, overStressed, preventSpeedUpdate, source, speed, stress, updateSpeed, wasMovedcomponentSpacing, numberFormat, spacing| Constructor and Description |
|---|
HandCrankTileEntity(net.minecraft.tileentity.TileEntityType<? extends HandCrankTileEntity> type) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
float |
getGeneratedSpeed() |
protected net.minecraft.block.Block |
getStressConfigKey() |
boolean |
shouldRenderNormally() |
void |
tick() |
void |
tickAudio() |
void |
turn(boolean back) |
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, calculateAddedStressCapacity, calculateStressApplied, canPropagateDiagonally, clearKineticInformation, convertToAngular, convertToDirection, convertToLinear, detachKinetics, getFlickerScore, getOrCreateNetwork, getRenderBoundingBox, getSpeed, getTheoreticalSpeed, hasNetwork, hasSource, initialize, isCustomConnection, isNoisy, isOverStressed, isSource, isSpeedRequirementFulfilled, makeRenderBoundingBox, needsSpeedUpdate, onSpeedChanged, propagateRotationTo, requestModelDataUpdate, setNetwork, setRemoved, setSpeed, switchToBlockState, updateFromNetwork, warnOfMovementaddBehavioursDeferred, attachBehaviourLate, canPlayerUse, forEachBehaviour, getBehaviour, getRequiredItems, getWorld, isFluidHandlerCap, isItemHandlerCap, isVirtual, lazyTick, load, markVirtual, readClientUpdate, removeBehaviour, save, 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, waitcontainedFluidTooltip, formatgetWorldpublic int inUse
public boolean backwards
public float independentAngle
public float chasingVelocity
public HandCrankTileEntity(net.minecraft.tileentity.TileEntityType<? extends HandCrankTileEntity> type)
public void turn(boolean back)
public float getGeneratedSpeed()
getGeneratedSpeed in class KineticTileEntitypublic void write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntitywrite in class KineticTileEntityprotected void fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntityfromTag in class KineticTileEntitypublic void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class GeneratingKineticTileEntityprotected net.minecraft.block.Block getStressConfigKey()
getStressConfigKey in class KineticTileEntitypublic boolean shouldRenderNormally()
public void tickAudio()
tickAudio in class KineticTileEntity