public class WindmillBearingTileEntity extends MechanicalBearingTileEntity
IControlContraption.MovementMode, IControlContraption.RotationModeIHaveGoggleInformation.Format| Modifier and Type | Field and Description |
|---|---|
protected float |
lastGeneratedSpeed |
protected ScrollOptionBehaviour<com.simibubi.create.content.contraptions.components.structureMovement.bearing.WindmillBearingTileEntity.RotationDirection> |
movementDirection |
angle, assembleNextTick, clientAngleDiff, lastException, movedContraption, movementMode, runningreActivateSourcecachedBoundingBox, capacity, effects, lastCapacityProvided, lastStressApplied, network, networkDirty, overStressed, preventSpeedUpdate, source, speed, stress, updateSpeed, wasMovedcomponentSpacing, numberFormat, spacing| Constructor and Description |
|---|
WindmillBearingTileEntity(net.minecraft.tileentity.TileEntityType<? extends MechanicalBearingTileEntity> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBehaviours(java.util.List<TileEntityBehaviour> behaviours) |
protected void |
fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
protected float |
getAngleSpeedDirection() |
float |
getGeneratedSpeed() |
protected boolean |
isWindmill() |
boolean |
isWoodenTop() |
void |
onSpeedChanged(float prevSpeed) |
void |
updateGeneratedRotation() |
void |
write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
addToTooltip, applyRotation, assemble, attach, collided, disassemble, getAngularSpeed, getBlockPosition, getInterpolatedAngle, getLastAssemblyException, isAttachedTo, isNearInitialAngle, isRunning, isValid, lazyTick, onStall, setAngle, setRemoved, shouldRenderNormally, tickaddToGoggleTooltip, applyNewSpeed, createNetworkId, notifyStressCapacityChange, removeSource, setSourceaddPropagationLocations, attachKinetics, calculateAddedStressCapacity, calculateStressApplied, 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, setSpeed, switchToBlockState, tickAudio, updateFromNetwork, warnOfMovementaddBehavioursDeferred, attachBehaviourLate, canPlayerUse, forEachBehaviour, getBehaviour, getRequiredItems, getWorld, isFluidHandlerCap, isItemHandlerCap, isVirtual, 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, waitgetMovementModeSlotaddExceptionToTooltipcontainedFluidTooltip, formatgetWorldprotected ScrollOptionBehaviour<com.simibubi.create.content.contraptions.components.structureMovement.bearing.WindmillBearingTileEntity.RotationDirection> movementDirection
protected float lastGeneratedSpeed
public WindmillBearingTileEntity(net.minecraft.tileentity.TileEntityType<? extends MechanicalBearingTileEntity> type)
public void updateGeneratedRotation()
updateGeneratedRotation in class GeneratingKineticTileEntitypublic void onSpeedChanged(float prevSpeed)
onSpeedChanged in class MechanicalBearingTileEntitypublic float getGeneratedSpeed()
getGeneratedSpeed in class KineticTileEntityprotected boolean isWindmill()
isWindmill in class MechanicalBearingTileEntityprotected float getAngleSpeedDirection()
public void write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntitywrite in class MechanicalBearingTileEntityprotected void fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntityfromTag in class MechanicalBearingTileEntitypublic void addBehaviours(java.util.List<TileEntityBehaviour> behaviours)
addBehaviours in class MechanicalBearingTileEntitypublic boolean isWoodenTop()
isWoodenTop in interface IBearingTileEntityisWoodenTop in class MechanicalBearingTileEntity