public abstract class GeneratingKineticTileEntity extends KineticTileEntity
IHaveGoggleInformation.Format| Modifier and Type | Field and Description |
|---|---|
boolean |
reActivateSource |
cachedBoundingBox, capacity, effects, lastCapacityProvided, lastStressApplied, network, networkDirty, overStressed, preventSpeedUpdate, source, speed, stress, updateSpeed, wasMovedcomponentSpacing, numberFormat, spacing| Constructor and Description |
|---|
GeneratingKineticTileEntity(net.minecraft.tileentity.TileEntityType<?> typeIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addToGoggleTooltip(java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
boolean isPlayerSneaking)
this method will be called when looking at a TileEntity that implemented this
interface
|
void |
applyNewSpeed(float prevSpeed,
float speed) |
java.lang.Long |
createNetworkId() |
protected void |
notifyStressCapacityChange(float capacity) |
void |
removeSource() |
void |
setSource(net.minecraft.util.math.BlockPos source) |
void |
tick() |
void |
updateGeneratedRotation() |
addBehaviours, addPropagationLocations, addToTooltip, attachKinetics, calculateAddedStressCapacity, calculateStressApplied, canPropagateDiagonally, clearKineticInformation, convertToAngular, convertToDirection, convertToLinear, detachKinetics, fromTag, getFlickerScore, getGeneratedSpeed, getOrCreateNetwork, getRenderBoundingBox, getSpeed, getStressConfigKey, getTheoreticalSpeed, hasNetwork, hasSource, initialize, isCustomConnection, isNoisy, isOverStressed, isSource, isSpeedRequirementFulfilled, makeRenderBoundingBox, needsSpeedUpdate, onSpeedChanged, propagateRotationTo, requestModelDataUpdate, setNetwork, setRemoved, setSpeed, switchToBlockState, tickAudio, updateFromNetwork, warnOfMovement, writeaddBehavioursDeferred, 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 GeneratingKineticTileEntity(net.minecraft.tileentity.TileEntityType<?> typeIn)
protected void notifyStressCapacityChange(float capacity)
public void removeSource()
removeSource in class KineticTileEntitypublic void setSource(net.minecraft.util.math.BlockPos source)
setSource in class KineticTileEntitypublic void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class KineticTileEntitypublic boolean addToGoggleTooltip(java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
boolean isPlayerSneaking)
IHaveGoggleInformationaddToGoggleTooltip in interface IHaveGoggleInformationaddToGoggleTooltip in class KineticTileEntitytrue if the tooltip creation was successful and should be displayed,
or false if the overlay should not be displayedpublic void updateGeneratedRotation()
public void applyNewSpeed(float prevSpeed,
float speed)
public java.lang.Long createNetworkId()