public class GantryShaftTileEntity extends KineticTileEntity
IHaveGoggleInformation.FormatcachedBoundingBox, capacity, effects, lastCapacityProvided, lastStressApplied, network, networkDirty, overStressed, preventSpeedUpdate, source, speed, stress, updateSpeed, wasMovedcomponentSpacing, numberFormat, spacing| Constructor and Description |
|---|
GantryShaftTileEntity(net.minecraft.tileentity.TileEntityType<?> typeIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAssembleOn() |
void |
checkAttachedCarriageBlocks() |
float |
getPinionMovementSpeed() |
boolean |
isCustomConnection(KineticTileEntity other,
net.minecraft.block.BlockState state,
net.minecraft.block.BlockState otherState)
Specify whether this component can propagate speed to the other in any
circumstance.
|
protected boolean |
isNoisy() |
void |
onSpeedChanged(float previousSpeed) |
float |
propagateRotationTo(KineticTileEntity target,
net.minecraft.block.BlockState stateFrom,
net.minecraft.block.BlockState stateTo,
net.minecraft.util.math.BlockPos diff,
boolean connectedViaAxes,
boolean connectedViaCogs)
Specify ratio of transferred rotation from this kinetic component to a
specific other.
|
addBehaviours, addPropagationLocations, addToGoggleTooltip, addToTooltip, attachKinetics, calculateAddedStressCapacity, calculateStressApplied, canPropagateDiagonally, clearKineticInformation, convertToAngular, convertToDirection, convertToLinear, detachKinetics, fromTag, getFlickerScore, getGeneratedSpeed, getOrCreateNetwork, getRenderBoundingBox, getSpeed, getStressConfigKey, getTheoreticalSpeed, hasNetwork, hasSource, initialize, isOverStressed, isSource, isSpeedRequirementFulfilled, makeRenderBoundingBox, needsSpeedUpdate, removeSource, requestModelDataUpdate, setNetwork, setRemoved, setSource, setSpeed, switchToBlockState, tick, tickAudio, updateFromNetwork, warnOfMovement, writeaddBehavioursDeferred, attachBehaviourLate, canPlayerUse, forEachBehaviour, getBehaviour, getRequiredItems, getWorld, isFluidHandlerCap, isItemHandlerCap, isVirtual, lazyTick, load, markVirtual, readClientUpdate, removeBehaviour, save, sendToContainer, 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 GantryShaftTileEntity(net.minecraft.tileentity.TileEntityType<?> typeIn)
public void checkAttachedCarriageBlocks()
public void onSpeedChanged(float previousSpeed)
onSpeedChanged in class KineticTileEntitypublic float propagateRotationTo(KineticTileEntity target, net.minecraft.block.BlockState stateFrom, net.minecraft.block.BlockState stateTo, net.minecraft.util.math.BlockPos diff, boolean connectedViaAxes, boolean connectedViaCogs)
KineticTileEntitypropagateRotationTo in class KineticTileEntitytarget - other Kinetic TE to transfer tostateFrom - this TE's blockstatestateTo - other TE's blockstatediff - difference in position (to.pos - from.pos)connectedViaAxes - whether these kinetic blocks are connected via mutual
IRotate.hasShaftTowards()connectedViaCogs - whether these kinetic blocks are connected via mutual
IRotate.hasIntegratedCogwheel()public boolean isCustomConnection(KineticTileEntity other, net.minecraft.block.BlockState state, net.minecraft.block.BlockState otherState)
KineticTileEntityisCustomConnection in class KineticTileEntitypublic boolean canAssembleOn()
public float getPinionMovementSpeed()
protected boolean isNoisy()
isNoisy in class KineticTileEntity