public class GantryCarriageTileEntity extends KineticTileEntity implements IDisplayAssemblyExceptions
IHaveGoggleInformation.Format| Modifier and Type | Field and Description |
|---|---|
protected AssemblyException |
lastException |
cachedBoundingBox, capacity, effects, lastCapacityProvided, lastStressApplied, network, networkDirty, overStressed, preventSpeedUpdate, source, speed, stress, updateSpeed, wasMovedcomponentSpacing, numberFormat, spacing| Constructor and Description |
|---|
GantryCarriageTileEntity(net.minecraft.tileentity.TileEntityType<?> typeIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkValidGantryShaft() |
protected void |
fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
static float |
getGantryPinionModifier(net.minecraft.util.Direction shaft,
net.minecraft.util.Direction pinionDirection) |
AssemblyException |
getLastAssemblyException() |
void |
initialize() |
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.
|
void |
queueAssembly() |
boolean |
shouldRenderNormally() |
void |
tick() |
protected void |
write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
addBehaviours, addPropagationLocations, addToGoggleTooltip, addToTooltip, attachKinetics, calculateAddedStressCapacity, calculateStressApplied, canPropagateDiagonally, clearKineticInformation, convertToAngular, convertToDirection, convertToLinear, detachKinetics, getFlickerScore, getGeneratedSpeed, getOrCreateNetwork, getRenderBoundingBox, getSpeed, getStressConfigKey, getTheoreticalSpeed, hasNetwork, hasSource, isCustomConnection, isNoisy, isOverStressed, isSource, isSpeedRequirementFulfilled, makeRenderBoundingBox, needsSpeedUpdate, 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, waitaddExceptionToTooltipcontainedFluidTooltip, formatgetWorldprotected AssemblyException lastException
public GantryCarriageTileEntity(net.minecraft.tileentity.TileEntityType<?> typeIn)
public void onSpeedChanged(float previousSpeed)
onSpeedChanged in class KineticTileEntitypublic void checkValidGantryShaft()
public void initialize()
initialize in class KineticTileEntitypublic void queueAssembly()
public void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class KineticTileEntitypublic AssemblyException getLastAssemblyException()
getLastAssemblyException in interface IDisplayAssemblyExceptionsprotected 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 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 static float getGantryPinionModifier(net.minecraft.util.Direction shaft,
net.minecraft.util.Direction pinionDirection)
public boolean shouldRenderNormally()
shouldRenderNormally in interface com.jozufozu.flywheel.backend.instancing.IInstanceRendered