public class HosePulleyTileEntity extends KineticTileEntity
IHaveGoggleInformation.FormatcachedBoundingBox, capacity, effects, lastCapacityProvided, lastStressApplied, network, networkDirty, overStressed, preventSpeedUpdate, source, speed, stress, updateSpeed, wasMovedcomponentSpacing, numberFormat, spacing| Constructor and Description |
|---|
HosePulleyTileEntity(net.minecraft.tileentity.TileEntityType<?> typeIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBehaviours(java.util.List<TileEntityBehaviour> behaviours) |
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
|
protected void |
fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
<T> net.minecraftforge.common.util.LazyOptional<T> |
getCapability(net.minecraftforge.common.capabilities.Capability<T> cap,
net.minecraft.util.Direction side) |
float |
getInterpolatedOffset(float pt) |
float |
getMovementSpeed() |
net.minecraft.util.math.AxisAlignedBB |
getRenderBoundingBox() |
double |
getViewDistance() |
void |
lazyTick() |
void |
onSpeedChanged(float previousSpeed) |
protected void |
onTankContentsChanged(net.minecraftforge.fluids.FluidStack contents) |
void |
sendData() |
void |
setRemoved() |
boolean |
shouldRenderNormally() |
void |
tick() |
protected void |
write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
addPropagationLocations, addToTooltip, attachKinetics, calculateAddedStressCapacity, calculateStressApplied, canPropagateDiagonally, clearKineticInformation, convertToAngular, convertToDirection, convertToLinear, detachKinetics, getFlickerScore, getGeneratedSpeed, getOrCreateNetwork, getSpeed, getStressConfigKey, getTheoreticalSpeed, hasNetwork, hasSource, initialize, isCustomConnection, isNoisy, isOverStressed, isSource, isSpeedRequirementFulfilled, makeRenderBoundingBox, 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, packetTargetclearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getType, hasLevel, isRemoved, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, setChanged, setLevelAndPosition, setPosition, triggerEventareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainedFluidTooltip, formatgetWorldpublic HosePulleyTileEntity(net.minecraft.tileentity.TileEntityType<?> typeIn)
public void sendData()
sendData in class SyncedTileEntitypublic 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 addBehaviours(java.util.List<TileEntityBehaviour> behaviours)
addBehaviours in class KineticTileEntityprotected void onTankContentsChanged(net.minecraftforge.fluids.FluidStack contents)
public void onSpeedChanged(float previousSpeed)
onSpeedChanged in class KineticTileEntitypublic net.minecraft.util.math.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox in interface net.minecraftforge.common.extensions.IForgeTileEntitygetRenderBoundingBox in class KineticTileEntitypublic double getViewDistance()
getViewDistance in class net.minecraft.tileentity.TileEntitypublic void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class KineticTileEntitypublic void lazyTick()
lazyTick in class SmartTileEntityprotected 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 void setRemoved()
setRemoved in class KineticTileEntitypublic float getMovementSpeed()
public float getInterpolatedOffset(float pt)
public <T> net.minecraftforge.common.util.LazyOptional<T> getCapability(net.minecraftforge.common.capabilities.Capability<T> cap,
net.minecraft.util.Direction side)
getCapability in interface net.minecraftforge.common.capabilities.ICapabilityProvidergetCapability in class net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.tileentity.TileEntity>public boolean shouldRenderNormally()