public class PulleyTileEntity extends LinearActuatorTileEntity
IControlContraption.MovementMode, IControlContraption.RotationModeIHaveGoggleInformation.Format| Modifier and Type | Field and Description |
|---|---|
protected int |
initialOffset |
assembleNextTick, clientOffsetDiff, forceMove, lastException, movedContraption, movementMode, offset, running, waitingForSpeedChangecachedBoundingBox, capacity, effects, lastCapacityProvided, lastStressApplied, network, networkDirty, overStressed, preventSpeedUpdate, source, speed, stress, updateSpeed, wasMovedcomponentSpacing, numberFormat, spacing| Constructor and Description |
|---|
PulleyTileEntity(net.minecraft.tileentity.TileEntityType<? extends PulleyTileEntity> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
animateOffset(float forcedOffset) |
protected void |
assemble() |
void |
disassemble() |
protected void |
fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
protected int |
getExtensionRange() |
protected int |
getInitialOffset() |
float |
getInterpolatedOffset(float partialTicks) |
protected ValueBoxTransform |
getMovementModeSlot() |
double |
getViewDistance() |
net.minecraft.util.math.AxisAlignedBB |
makeRenderBoundingBox() |
boolean |
shouldRenderNormally() |
void |
tick() |
protected net.minecraft.util.math.vector.Vector3d |
toMotionVector(float speed) |
protected net.minecraft.util.math.vector.Vector3d |
toPosition(float offset) |
protected void |
visitNewPosition() |
void |
write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
addBehaviours, applyContraptionMotion, applyContraptionPosition, attach, collided, getBlockPosition, getGridOffset, getLastAssemblyException, getMotionVector, getMovementSpeed, isAttachedTo, isValid, lazyTick, onLengthBroken, onSpeedChanged, onStall, setRemoved, tryDisassembleaddPropagationLocations, 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, needsSpeedUpdate, propagateRotationTo, removeSource, requestModelDataUpdate, setNetwork, setSource, 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, 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, waitaddExceptionToTooltipcontainedFluidTooltip, formatgetWorldpublic PulleyTileEntity(net.minecraft.tileentity.TileEntityType<? extends PulleyTileEntity> type)
public net.minecraft.util.math.AxisAlignedBB makeRenderBoundingBox()
makeRenderBoundingBox in class KineticTileEntitypublic double getViewDistance()
getViewDistance in class net.minecraft.tileentity.TileEntitypublic void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class LinearActuatorTileEntityprotected void assemble()
throws AssemblyException
assemble in class LinearActuatorTileEntityAssemblyExceptionpublic void disassemble()
disassemble in class LinearActuatorTileEntityprotected net.minecraft.util.math.vector.Vector3d toPosition(float offset)
toPosition in class LinearActuatorTileEntityprotected void visitNewPosition()
visitNewPosition in class LinearActuatorTileEntityprotected void fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntityfromTag in class LinearActuatorTileEntitypublic void write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntitywrite in class LinearActuatorTileEntityprotected int getExtensionRange()
getExtensionRange in class LinearActuatorTileEntityprotected int getInitialOffset()
getInitialOffset in class LinearActuatorTileEntityprotected net.minecraft.util.math.vector.Vector3d toMotionVector(float speed)
toMotionVector in class LinearActuatorTileEntityprotected ValueBoxTransform getMovementModeSlot()
getMovementModeSlot in class LinearActuatorTileEntitypublic float getInterpolatedOffset(float partialTicks)
getInterpolatedOffset in class LinearActuatorTileEntitypublic void animateOffset(float forcedOffset)
public boolean shouldRenderNormally()