public class TileEntityPressureChamberInterface extends TileEntityPressureChamberWall implements net.minecraft.tileentity.ITickableTileEntity, IRedstoneControl<TileEntityPressureChamberInterface>, net.minecraft.inventory.container.INamedContainerProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
TileEntityPressureChamberInterface.InterfaceDirection |
TileEntityPressureChamberWall.PressureWallStateManagerTileEntityBase.UpgradeHandler| Modifier and Type | Field and Description |
|---|---|
boolean |
exportAny |
float |
inputProgress |
TileEntityPressureChamberInterface.InterfaceDirection |
interfaceMode |
static int |
INVENTORY_SIZE |
static int |
MAX_PROGRESS |
float |
oldInputProgress |
float |
oldOutputProgress |
float |
outputProgress |
RedstoneController<TileEntityPressureChamberInterface> |
rsController |
| Constructor and Description |
|---|
TileEntityPressureChamberInterface() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearCachedItems() |
net.minecraft.inventory.container.Container |
createMenu(int i,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.entity.player.PlayerEntity playerEntity) |
protected net.minecraftforge.common.util.LazyOptional<net.minecraftforge.items.IItemHandler> |
getInventoryCap() |
net.minecraftforge.items.IItemHandler |
getPrimaryInventory() |
RedstoneController<TileEntityPressureChamberInterface> |
getRedstoneController()
Get the redstone controller object for this TE
|
net.minecraft.item.ItemStack |
getStackInInterface() |
void |
handleGUIButtonPress(java.lang.String tag,
boolean shiftHeld,
net.minecraft.entity.player.ServerPlayerEntity player) |
boolean |
hasEnoughPressure() |
boolean |
isGuiUseableByPlayer(net.minecraft.entity.player.PlayerEntity 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() |
getInfoTileEntity, getPrimaryValve, onBlockBreak, onDescUpdate, printManometerMessage, shouldRerenderChunkOnDescUpdateaddLuaMethods, countPlayersUsing, getApplicableUpgrades, getCachedNeighbor, getCapability, getContentsToDrop, getCurrentRecipeIdSynced, getCustomName, getDescriptionFields, getDisplayName, getHeatCap, getLuaMethodRegistry, getModelData, getName, getPeripheralType, getPosition, getRotation, getSpeedMultiplierFromUpgrades, getSpeedUsageMultiplierFromUpgrades, getUpdateTag, getUpgradeAcceptorTranslationKey, getUpgradeCache, getUpgradeHandler, getUpgrades, handleUpdateTag, onBlockRotated, onFirstServerTick, onGuiUpdate, onNeighborBlockUpdate, onNeighborTileUpdate, onUpgradesChanged, readFromPacket, requestModelDataUpdate, sendDescriptionPacket, serializeExtraItemData, setChanged, setCustomName, setPreserveStateOnBreak, setRemoved, shouldPreserveStateOnBreak, shouldSyncField, updateNeighbours, writeToPacketclearCache, 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, onRedstoneModeChangedgetDisplayNamepublic static final int MAX_PROGRESS
public static final int INVENTORY_SIZE
public float inputProgress
public float oldInputProgress
public float outputProgress
public float oldOutputProgress
public TileEntityPressureChamberInterface.InterfaceDirection interfaceMode
public final RedstoneController<TileEntityPressureChamberInterface> rsController
public boolean exportAny
public static void clearCachedItems()
@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 void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitypublic net.minecraft.item.ItemStack getStackInInterface()
public boolean hasEnoughPressure()
public void load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT tag)
load in class TileEntityPressureChamberWallpublic net.minecraft.nbt.CompoundNBT save(net.minecraft.nbt.CompoundNBT tag)
save in class TileEntityPressureChamberWallpublic boolean isGuiUseableByPlayer(net.minecraft.entity.player.PlayerEntity player)
isGuiUseableByPlayer in class TileEntityBasepublic net.minecraftforge.items.IItemHandler getPrimaryInventory()
getPrimaryInventory in class TileEntityPressureChamberWallpublic void handleGUIButtonPress(java.lang.String tag,
boolean shiftHeld,
net.minecraft.entity.player.ServerPlayerEntity player)
handleGUIButtonPress in interface IGUIButtonSensitivehandleGUIButtonPress in class TileEntityBasepublic RedstoneController<TileEntityPressureChamberInterface> getRedstoneController()
IRedstoneControlgetRedstoneController in interface IRedstoneControl<TileEntityPressureChamberInterface>protected net.minecraftforge.common.util.LazyOptional<net.minecraftforge.items.IItemHandler> getInventoryCap()
getInventoryCap in class TileEntityBase