public class TileEntityPressureChamberValve extends TileEntityPneumaticBase implements IMinWorkingPressure, IAirListener, net.minecraft.inventory.container.INamedContainerProvider
TileEntityBase.UpgradeHandler| Modifier and Type | Field and Description |
|---|---|
java.util.List<TileEntityPressureChamberValve> |
accessoryValves |
boolean |
hasGlass |
boolean |
isSufficientPressureInChamber |
boolean |
isValidRecipeInChamber |
int |
multiBlockSize |
int |
multiBlockX |
int |
multiBlockY |
int |
multiBlockZ |
float |
recipePressure |
java.util.List<net.minecraft.item.ItemStack> |
renderedItems |
airHandler| Constructor and Description |
|---|
TileEntityPressureChamberValve() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<IAirHandlerMachine> |
addConnectedPneumatics(java.util.List<IAirHandlerMachine> airHandlers)
With this method, you can add neighbouring air handlers that aren't physically adjacent, but should be considered
connected for air dispersion logic.
|
boolean |
canConnectPneumatic(net.minecraft.util.Direction side)
Checks if the given side of this TE can be pneumatically connected to.
|
static boolean |
checkIfProperlyFormed(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
static boolean |
checkIfProperlyFormed(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
boolean forceRebuild) |
net.minecraft.inventory.container.Container |
createMenu(int i,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.entity.player.PlayerEntity playerEntity) |
float |
getMinWorkingPressure()
Get the minimum pressure at which this machine can operate.
|
net.minecraftforge.items.IItemHandler |
getPrimaryInventory() |
net.minecraft.util.math.AxisAlignedBB |
getRenderBoundingBox() |
void |
load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT tag) |
void |
onDescUpdate() |
protected void |
onFirstServerTick() |
void |
onMultiBlockBreak() |
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT tag) |
protected boolean |
shouldRerenderChunkOnDescUpdate() |
void |
tick() |
addAir, addLuaMethods, forceLeak, getCapability, getCriticalPressure, getDangerPressure, getDefaultVolume, getPressure, handleUpdateTag, hasNoConnectedAirHandlers, initializeHullAirHandlerClient, initializeHullAirHandlers, onBlockRotated, onNeighborBlockUpdate, onUpgradesChanged, readFromPacket, setRemoved, writeToPacketcountPlayersUsing, getApplicableUpgrades, getCachedNeighbor, getContentsToDrop, getCurrentRecipeIdSynced, getCustomName, getDescriptionFields, getDisplayName, getHeatCap, getInventoryCap, getLuaMethodRegistry, getModelData, getName, getPeripheralType, getPosition, getRotation, getSpeedMultiplierFromUpgrades, getSpeedUsageMultiplierFromUpgrades, getUpdateTag, getUpgradeAcceptorTranslationKey, getUpgradeCache, getUpgradeHandler, getUpgrades, handleGUIButtonPress, isGuiUseableByPlayer, onGuiUpdate, onNeighborTileUpdate, requestModelDataUpdate, sendDescriptionPacket, serializeExtraItemData, setChanged, setCustomName, setPreserveStateOnBreak, shouldPreserveStateOnBreak, shouldSyncField, updateNeighboursclearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getUpdatePacket, getViewDistance, hasLevel, isRemoved, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, setLevelAndPosition, setPosition, triggerEventareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaxDispersion, onAirDispersiongetDisplayNamepublic int multiBlockX
public int multiBlockY
public int multiBlockZ
public int multiBlockSize
public boolean hasGlass
public boolean isValidRecipeInChamber
public boolean isSufficientPressureInChamber
public float recipePressure
public final java.util.List<net.minecraft.item.ItemStack> renderedItems
public java.util.List<TileEntityPressureChamberValve> accessoryValves
protected boolean shouldRerenderChunkOnDescUpdate()
shouldRerenderChunkOnDescUpdate in class TileEntityBasepublic boolean canConnectPneumatic(net.minecraft.util.Direction side)
TileEntityPneumaticBasecanConnectPneumatic in class TileEntityPneumaticBaseside - the side to checkpublic java.util.List<IAirHandlerMachine> addConnectedPneumatics(java.util.List<IAirHandlerMachine> airHandlers)
IAirListeneraddConnectedPneumatics in interface IAirListenerairHandlers - add extra connected air handlers to this listpublic void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class TileEntityPneumaticBaseprotected void onFirstServerTick()
onFirstServerTick in class TileEntityPneumaticBasepublic void load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT tag)
load in class TileEntityPneumaticBasepublic net.minecraft.nbt.CompoundNBT save(net.minecraft.nbt.CompoundNBT tag)
save in class TileEntityPneumaticBasepublic void onMultiBlockBreak()
public void onDescUpdate()
onDescUpdate in interface IDescSyncedonDescUpdate in class TileEntityBasepublic net.minecraftforge.items.IItemHandler getPrimaryInventory()
getPrimaryInventory in class TileEntityBasepublic static boolean checkIfProperlyFormed(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
public static boolean checkIfProperlyFormed(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
boolean forceRebuild)
public net.minecraft.util.math.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox in interface net.minecraftforge.common.extensions.IForgeTileEntitypublic float getMinWorkingPressure()
IMinWorkingPressuregetMinWorkingPressure in interface IMinWorkingPressure@Nullable
public net.minecraft.inventory.container.Container createMenu(int i,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.entity.player.PlayerEntity playerEntity)
createMenu in interface net.minecraft.inventory.container.IContainerProvider