public class TileEntityThermalCompressor extends TileEntityPneumaticBase implements IHeatTinted, IRedstoneControl<TileEntityThermalCompressor>, net.minecraft.inventory.container.INamedContainerProvider, IHeatExchangingTE
TileEntityBase.UpgradeHandlerairHandler| Constructor and Description |
|---|
TileEntityThermalCompressor() |
| Modifier and Type | Method and Description |
|---|---|
double |
airProduced(net.minecraft.util.Direction side) |
boolean |
canConnectPneumatic(net.minecraft.util.Direction side)
Checks if the given side of this TE can be pneumatically connected to.
|
net.minecraft.inventory.container.Container |
createMenu(int i,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.entity.player.PlayerEntity playerEntity) |
TintColor |
getColorForTintIndex(int tintIndex)
Called clientside to get a tint colour for the given tint index.
|
net.minecraftforge.common.util.LazyOptional<IHeatExchangerLogic> |
getHeatCap(net.minecraft.util.Direction side) |
IHeatExchangerLogic |
getHeatExchanger(net.minecraft.util.Direction side)
Get the heat exchanger on the given face.
|
net.minecraftforge.items.IItemHandler |
getPrimaryInventory() |
RedstoneController<TileEntityThermalCompressor> |
getRedstoneController()
Get the redstone controller object for this TE
|
void |
handleGUIButtonPress(java.lang.String tag,
boolean shiftHeld,
net.minecraft.entity.player.ServerPlayerEntity player) |
void |
initHeatExchangersOnPlacement(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
Initialize this TE's hull heat exchanger to the ambient temperature, when the block is first placed down.
|
void |
load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT tag) |
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, onFirstServerTick, onNeighborBlockUpdate, onUpgradesChanged, readFromPacket, setRemoved, writeToPacketclearCache, countPlayersUsing, getApplicableUpgrades, getCachedNeighbor, getContentsToDrop, getCurrentRecipeIdSynced, getCustomName, getDescriptionFields, getDisplayName, getInventoryCap, getLuaMethodRegistry, getModelData, getName, getPeripheralType, getPosition, getRotation, getSpeedMultiplierFromUpgrades, getSpeedUsageMultiplierFromUpgrades, getUpdateTag, getUpgradeAcceptorTranslationKey, getUpgradeCache, getUpgradeHandler, getUpgrades, isGuiUseableByPlayer, onDescUpdate, onGuiUpdate, onNeighborTileUpdate, requestModelDataUpdate, sendDescriptionPacket, serializeExtraItemData, setCustomName, setPreserveStateOnBreak, shouldPreserveStateOnBreak, 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, onRedstoneModeChangedgetDisplayNamegetHeatExchanger, heatExchangerBlockFilter, initializeHullHeatExchangers, shouldShowGuiHeatTabpublic net.minecraftforge.items.IItemHandler getPrimaryInventory()
getPrimaryInventory in class TileEntityBasepublic void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class TileEntityPneumaticBasepublic IHeatExchangerLogic getHeatExchanger(net.minecraft.util.Direction side)
IHeatExchangingTEgetHeatExchanger in interface IHeatExchangingTEside - the side of the block to check, or null for the default/primary heat exchangerpublic void initHeatExchangersOnPlacement(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
IHeatExchangingTEinitHeatExchangersOnPlacement in interface IHeatExchangingTEworld - the TE's worldpos - the TE's block pospublic double airProduced(net.minecraft.util.Direction side)
public boolean canConnectPneumatic(net.minecraft.util.Direction side)
TileEntityPneumaticBasecanConnectPneumatic in class TileEntityPneumaticBaseside - the side to checkpublic TintColor getColorForTintIndex(int tintIndex)
IHeatTintedgetColorForTintIndex in interface IHeatTintedtintIndex - the tint index of the model quad to be tintedpublic 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 TileEntityPneumaticBaseprotected boolean shouldRerenderChunkOnDescUpdate()
shouldRerenderChunkOnDescUpdate in class TileEntityBasepublic void handleGUIButtonPress(java.lang.String tag,
boolean shiftHeld,
net.minecraft.entity.player.ServerPlayerEntity player)
handleGUIButtonPress in interface IGUIButtonSensitivehandleGUIButtonPress in class TileEntityBasepublic RedstoneController<TileEntityThermalCompressor> getRedstoneController()
IRedstoneControlgetRedstoneController in interface IRedstoneControl<TileEntityThermalCompressor>@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.common.util.LazyOptional<IHeatExchangerLogic> getHeatCap(net.minecraft.util.Direction side)
getHeatCap in class TileEntityBase