public class FlywheelTileEntity extends GeneratingKineticTileEntity
IHaveGoggleInformation.FormatreActivateSourcecachedBoundingBox, capacity, effects, lastCapacityProvided, lastStressApplied, network, networkDirty, overStressed, preventSpeedUpdate, source, speed, stress, updateSpeed, wasMovedcomponentSpacing, numberFormat, spacing| Constructor and Description |
|---|
FlywheelTileEntity(net.minecraft.tileentity.TileEntityType<? extends FlywheelTileEntity> type) |
| Modifier and Type | Method and Description |
|---|---|
float |
calculateAddedStressCapacity() |
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() |
net.minecraft.util.math.AxisAlignedBB |
makeRenderBoundingBox() |
void |
setRotation(float speed,
float capacity) |
void |
tick() |
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, calculateStressApplied, canPropagateDiagonally, clearKineticInformation, convertToAngular, convertToDirection, convertToLinear, detachKinetics, getFlickerScore, getOrCreateNetwork, getRenderBoundingBox, getSpeed, getStressConfigKey, getTheoreticalSpeed, hasNetwork, hasSource, initialize, isCustomConnection, isNoisy, isOverStressed, isSource, isSpeedRequirementFulfilled, needsSpeedUpdate, onSpeedChanged, propagateRotationTo, requestModelDataUpdate, setNetwork, setRemoved, 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 FlywheelTileEntity(net.minecraft.tileentity.TileEntityType<? extends FlywheelTileEntity> type)
public void setRotation(float speed,
float capacity)
public float getGeneratedSpeed()
getGeneratedSpeed in class KineticTileEntitypublic float calculateAddedStressCapacity()
calculateAddedStressCapacity in class KineticTileEntitypublic net.minecraft.util.math.AxisAlignedBB makeRenderBoundingBox()
makeRenderBoundingBox 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 GeneratingKineticTileEntity