public class TileEntityPneumaticDynamo extends TileEntityPneumaticBase implements IRedstoneControl<TileEntityPneumaticDynamo>, IMinWorkingPressure, net.minecraft.inventory.container.INamedContainerProvider, IHeatExchangingTE
TileEntityBase.UpgradeHandlerairHandler| Constructor and Description |
|---|
TileEntityPneumaticDynamo() |
| Modifier and Type | Method and Description |
|---|---|
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) |
int |
getAirRate() |
<T> net.minecraftforge.common.util.LazyOptional<T> |
getCapability(net.minecraftforge.common.capabilities.Capability<T> capability,
net.minecraft.util.Direction facing) |
int |
getEfficiency() |
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.
|
int |
getInfoEnergyStored() |
float |
getMinWorkingPressure()
Get the minimum pressure at which this machine can operate.
|
net.minecraftforge.items.IItemHandler |
getPrimaryInventory() |
RedstoneController<TileEntityPneumaticDynamo> |
getRedstoneController()
Get the redstone controller object for this TE
|
int |
getRFRate() |
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) |
protected boolean |
shouldRerenderChunkOnDescUpdate() |
void |
tick() |
addAir, addLuaMethods, forceLeak, getCriticalPressure, getDangerPressure, getDefaultVolume, getPressure, handleUpdateTag, hasNoConnectedAirHandlers, initializeHullAirHandlerClient, initializeHullAirHandlers, onBlockRotated, onFirstServerTick, onNeighborBlockUpdate, onUpgradesChanged, readFromPacket, setRemoved, writeToPacketcountPlayersUsing, 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, 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, waitgetCurrentRedstonePower, getRedstoneMode, getRedstoneTabTitle, onRedstoneModeChangedgetDisplayNamegetHeatExchanger, heatExchangerBlockFilter, initHeatExchangersOnPlacement, initializeHullHeatExchangers, shouldShowGuiHeatTabpublic int getEfficiency()
public void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class TileEntityPneumaticBaseprotected boolean shouldRerenderChunkOnDescUpdate()
shouldRerenderChunkOnDescUpdate in class TileEntityBasepublic RedstoneController<TileEntityPneumaticDynamo> getRedstoneController()
IRedstoneControlgetRedstoneController in interface IRedstoneControl<TileEntityPneumaticDynamo>public 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 boolean canConnectPneumatic(net.minecraft.util.Direction side)
TileEntityPneumaticBasecanConnectPneumatic in class TileEntityPneumaticBaseside - the side to checkpublic float getMinWorkingPressure()
IMinWorkingPressuregetMinWorkingPressure in interface IMinWorkingPressurepublic net.minecraftforge.common.util.LazyOptional<IHeatExchangerLogic> getHeatCap(net.minecraft.util.Direction side)
getHeatCap in class TileEntityBasepublic int getRFRate()
public int getAirRate()
public int getInfoEnergyStored()
@Nonnull
public <T> net.minecraftforge.common.util.LazyOptional<T> getCapability(net.minecraftforge.common.capabilities.Capability<T> capability,
@Nullable
net.minecraft.util.Direction facing)
getCapability in interface net.minecraftforge.common.capabilities.ICapabilityProvidergetCapability in class TileEntityPneumaticBasepublic 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 TileEntityPneumaticBase@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@Nullable 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 exchanger