public class PumpTileEntity extends KineticTileEntity
IHaveGoggleInformation.FormatcachedBoundingBox, capacity, effects, lastCapacityProvided, lastStressApplied, network, networkDirty, overStressed, preventSpeedUpdate, source, speed, stress, updateSpeed, wasMovedcomponentSpacing, numberFormat, spacing| Constructor and Description |
|---|
PumpTileEntity(net.minecraft.tileentity.TileEntityType<?> typeIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBehaviours(java.util.List<TileEntityBehaviour> behaviours) |
protected void |
distributePressureTo(net.minecraft.util.Direction side) |
protected void |
fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
protected net.minecraft.util.Direction |
getFront() |
void |
initialize() |
protected boolean |
isFront(net.minecraft.util.Direction side) |
boolean |
isPullingOnSide(boolean front) |
boolean |
isSideAccessible(net.minecraft.util.Direction side) |
void |
onSpeedChanged(float previousSpeed) |
protected boolean |
searchForEndpointRecursively(java.util.Map<net.minecraft.util.math.BlockPos,Pair<java.lang.Integer,java.util.Map<net.minecraft.util.Direction,java.lang.Boolean>>> pipeGraph,
java.util.Set<BlockFace> targets,
java.util.Map<java.lang.Integer,java.util.Set<BlockFace>> validFaces,
BlockFace currentFace,
boolean pull) |
boolean |
shouldRenderNormally() |
void |
tick() |
protected void |
updatePipeNetwork(boolean front) |
void |
updatePipesOnSide(net.minecraft.util.Direction side) |
void |
write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
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, propagateRotationTo, 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, waitcontainedFluidTooltip, formatgetWorldpublic PumpTileEntity(net.minecraft.tileentity.TileEntityType<?> typeIn)
public void addBehaviours(java.util.List<TileEntityBehaviour> behaviours)
addBehaviours in class KineticTileEntitypublic void initialize()
initialize in class KineticTileEntitypublic void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class KineticTileEntitypublic void onSpeedChanged(float previousSpeed)
onSpeedChanged in class KineticTileEntityprotected void distributePressureTo(net.minecraft.util.Direction side)
protected boolean searchForEndpointRecursively(java.util.Map<net.minecraft.util.math.BlockPos,Pair<java.lang.Integer,java.util.Map<net.minecraft.util.Direction,java.lang.Boolean>>> pipeGraph, java.util.Set<BlockFace> targets, java.util.Map<java.lang.Integer,java.util.Set<BlockFace>> validFaces, BlockFace currentFace, boolean pull)
public 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 updatePipesOnSide(net.minecraft.util.Direction side)
protected boolean isFront(net.minecraft.util.Direction side)
@Nullable protected net.minecraft.util.Direction getFront()
protected void updatePipeNetwork(boolean front)
public boolean isSideAccessible(net.minecraft.util.Direction side)
public boolean isPullingOnSide(boolean front)
public boolean shouldRenderNormally()