public class TileEntityThermopneumaticProcessingPlant extends TileEntityPneumaticBase implements IMinWorkingPressure, IRedstoneControl<TileEntityThermopneumaticProcessingPlant>, ISerializableTanks, net.minecraft.inventory.container.INamedContainerProvider, IComparatorSupport, IHeatExchangingTE
| Modifier and Type | Class and Description |
|---|---|
static class |
TileEntityThermopneumaticProcessingPlant.TPProblem |
TileEntityBase.UpgradeHandler| Modifier and Type | Field and Description |
|---|---|
int |
maxTemperature |
int |
minTemperature |
TileEntityThermopneumaticProcessingPlant.TPProblem |
problem |
RedstoneController<TileEntityThermopneumaticProcessingPlant> |
rsController |
airHandler| Constructor and Description |
|---|
TileEntityThermopneumaticProcessingPlant() |
| Modifier and Type | Method and Description |
|---|---|
default void |
autoExportFluid(TileEntityBase te) |
boolean |
canConnectPneumatic(net.minecraft.util.Direction dir)
Checks if the given side of this TE can be pneumatically connected to.
|
static void |
clearCachedItemsAndFluids() |
net.minecraft.inventory.container.Container |
createMenu(int i,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.entity.player.PlayerEntity playerEntity) |
<T> net.minecraftforge.common.util.LazyOptional<T> |
getCapability(net.minecraftforge.common.capabilities.Capability<T> cap,
net.minecraft.util.Direction side) |
int |
getComparatorValue() |
double |
getCraftingPercentage() |
java.lang.String |
getCurrentRecipeIdSynced()
For machines which use recipes, get the synced recipe ID client-side for informational purposes
|
net.minecraftforge.common.util.LazyOptional<IHeatExchangerLogic> |
getHeatCap(net.minecraft.util.Direction side) |
IHeatExchangerLogic |
getHeatExchanger(net.minecraft.util.Direction dir)
Get the heat exchanger on the given face.
|
net.minecraftforge.fluids.capability.templates.FluidTank |
getInputTank() |
protected net.minecraftforge.common.util.LazyOptional<net.minecraftforge.items.IItemHandler> |
getInventoryCap() |
float |
getMinWorkingPressure()
Get the minimum pressure at which this machine can operate.
|
net.minecraftforge.items.IItemHandler |
getOutputInventory() |
net.minecraftforge.fluids.capability.templates.FluidTank |
getOutputTank() |
net.minecraftforge.items.IItemHandler |
getPrimaryInventory() |
RedstoneController<TileEntityThermopneumaticProcessingPlant> |
getRedstoneController()
Get the redstone controller object for this TE
|
java.util.Map<java.lang.String,net.minecraftforge.fluids.capability.templates.FluidTank> |
getSerializableTanks()
Get a mapping of all tanks; this maps a tag name, which is used as the serialization key, to a fluid tank.
|
void |
handleGUIButtonPress(java.lang.String tag,
boolean shiftHeld,
net.minecraft.entity.player.ServerPlayerEntity player) |
void |
load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT tag) |
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT tag) |
void |
tick() |
default int |
tryEjectLiquid(TileEntityBase te,
net.minecraftforge.fluids.capability.IFluidHandler handler,
net.minecraft.util.Direction dir,
int amount) |
addAir, addLuaMethods, forceLeak, getCriticalPressure, getDangerPressure, getDefaultVolume, getPressure, handleUpdateTag, hasNoConnectedAirHandlers, initializeHullAirHandlerClient, initializeHullAirHandlers, onBlockRotated, onFirstServerTick, onNeighborBlockUpdate, onUpgradesChanged, readFromPacket, setRemoved, writeToPacketclearCache, countPlayersUsing, getApplicableUpgrades, getCachedNeighbor, getContentsToDrop, getCustomName, getDescriptionFields, getDisplayName, getLuaMethodRegistry, getModelData, getName, getPeripheralType, getPosition, getRotation, getSpeedMultiplierFromUpgrades, getSpeedUsageMultiplierFromUpgrades, getUpdateTag, getUpgradeAcceptorTranslationKey, getUpgradeCache, getUpgradeHandler, getUpgrades, isGuiUseableByPlayer, onDescUpdate, onGuiUpdate, onNeighborTileUpdate, requestModelDataUpdate, sendDescriptionPacket, serializeExtraItemData, setCustomName, setPreserveStateOnBreak, shouldPreserveStateOnBreak, shouldRerenderChunkOnDescUpdate, shouldSyncField, updateNeighboursclearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getUpdatePacket, getViewDistance, 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, waitgetCurrentRedstonePower, getRedstoneMode, getRedstoneTabTitle, onRedstoneModeChangeddeserializeTanks, serializeTanksgetDisplayNamegetHeatExchanger, heatExchangerBlockFilter, initHeatExchangersOnPlacement, initializeHullHeatExchangers, shouldShowGuiHeatTabpublic final RedstoneController<TileEntityThermopneumaticProcessingPlant> rsController
public int minTemperature
public int maxTemperature
public TileEntityThermopneumaticProcessingPlant.TPProblem problem
public TileEntityThermopneumaticProcessingPlant()
public boolean canConnectPneumatic(net.minecraft.util.Direction dir)
TileEntityPneumaticBasecanConnectPneumatic in class TileEntityPneumaticBasedir - the side to checkpublic void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class TileEntityPneumaticBaseprotected net.minecraftforge.common.util.LazyOptional<net.minecraftforge.items.IItemHandler> getInventoryCap()
getInventoryCap in class TileEntityBase@Nonnull
public <T> net.minecraftforge.common.util.LazyOptional<T> getCapability(net.minecraftforge.common.capabilities.Capability<T> cap,
@Nullable
net.minecraft.util.Direction side)
getCapability in interface net.minecraftforge.common.capabilities.ICapabilityProvidergetCapability in class TileEntityPneumaticBasepublic net.minecraftforge.fluids.capability.templates.FluidTank getInputTank()
public net.minecraftforge.fluids.capability.templates.FluidTank getOutputTank()
public double getCraftingPercentage()
public net.minecraft.nbt.CompoundNBT save(net.minecraft.nbt.CompoundNBT tag)
save in class TileEntityPneumaticBasepublic void load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT tag)
load in class TileEntityPneumaticBasepublic net.minecraftforge.common.util.LazyOptional<IHeatExchangerLogic> getHeatCap(net.minecraft.util.Direction side)
getHeatCap in class TileEntityBasepublic void handleGUIButtonPress(java.lang.String tag,
boolean shiftHeld,
net.minecraft.entity.player.ServerPlayerEntity player)
handleGUIButtonPress in interface IGUIButtonSensitivehandleGUIButtonPress in class TileEntityBasepublic net.minecraftforge.items.IItemHandler getPrimaryInventory()
getPrimaryInventory in class TileEntityBasepublic RedstoneController<TileEntityThermopneumaticProcessingPlant> getRedstoneController()
IRedstoneControlgetRedstoneController in interface IRedstoneControl<TileEntityThermopneumaticProcessingPlant>public float getMinWorkingPressure()
IMinWorkingPressuregetMinWorkingPressure in interface IMinWorkingPressure@Nonnull public java.util.Map<java.lang.String,net.minecraftforge.fluids.capability.templates.FluidTank> getSerializableTanks()
ISerializableTanksgetSerializableTanks in interface ISerializableTanks@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.IContainerProviderpublic net.minecraftforge.items.IItemHandler getOutputInventory()
public int getComparatorValue()
getComparatorValue in interface IComparatorSupportpublic static void clearCachedItemsAndFluids()
public IHeatExchangerLogic getHeatExchanger(net.minecraft.util.Direction dir)
IHeatExchangingTEgetHeatExchanger in interface IHeatExchangingTEdir - the side of the block to check, or null for the default/primary heat exchangerpublic java.lang.String getCurrentRecipeIdSynced()
TileEntityBasegetCurrentRecipeIdSynced in class TileEntityBasepublic void autoExportFluid(TileEntityBase te)
public int tryEjectLiquid(TileEntityBase te, net.minecraftforge.fluids.capability.IFluidHandler handler, net.minecraft.util.Direction dir, int amount)