public class SequencedGearshiftTileEntity extends SplitShaftTileEntity
IHaveGoggleInformation.FormatcachedBoundingBox, capacity, effects, lastCapacityProvided, lastStressApplied, network, networkDirty, overStressed, preventSpeedUpdate, source, speed, stress, updateSpeed, wasMovedcomponentSpacing, numberFormat, spacing| Constructor and Description |
|---|
SequencedGearshiftTileEntity(net.minecraft.tileentity.TileEntityType<? extends SequencedGearshiftTileEntity> 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
|
Instruction |
getInstruction(int instructionIndex) |
int |
getModifier() |
float |
getRotationSpeedModifier(net.minecraft.util.Direction face) |
boolean |
isIdle() |
void |
onRedstoneUpdate(boolean isPowered,
boolean isRunning) |
void |
onSpeedChanged(float previousSpeed) |
void |
risingFlank() |
protected void |
run(int instructionIndex) |
void |
tick() |
void |
write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
getSourceFacingaddBehaviours, addPropagationLocations, addToGoggleTooltip, addToTooltip, attachKinetics, calculateAddedStressCapacity, calculateStressApplied, canPropagateDiagonally, clearKineticInformation, convertToAngular, convertToDirection, convertToLinear, detachKinetics, getFlickerScore, getGeneratedSpeed, getOrCreateNetwork, getRenderBoundingBox, getSpeed, getStressConfigKey, getTheoreticalSpeed, hasNetwork, hasSource, initialize, isCustomConnection, isNoisy, isOverStressed, isSource, isSpeedRequirementFulfilled, makeRenderBoundingBox, needsSpeedUpdate, propagateRotationTo, removeSource, requestModelDataUpdate, setNetwork, setRemoved, setSource, setSpeed, switchToBlockState, tickAudio, 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, formatgetWorld, shouldRenderNormallypublic SequencedGearshiftTileEntity(net.minecraft.tileentity.TileEntityType<? extends SequencedGearshiftTileEntity> type)
public void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class KineticTileEntitypublic void onSpeedChanged(float previousSpeed)
onSpeedChanged in class KineticTileEntitypublic boolean isIdle()
public void onRedstoneUpdate(boolean isPowered,
boolean isRunning)
public void risingFlank()
protected void run(int instructionIndex)
public Instruction getInstruction(int instructionIndex)
public 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 float getRotationSpeedModifier(net.minecraft.util.Direction face)
getRotationSpeedModifier in class SplitShaftTileEntitypublic int getModifier()