public class TileEntityUVLightBox extends TileEntityPneumaticBase implements IMinWorkingPressure, IRedstoneControl<TileEntityUVLightBox>, net.minecraft.inventory.container.INamedContainerProvider
TileEntityBase.UpgradeHandler| Modifier and Type | Field and Description |
|---|---|
static int |
INVENTORY_SIZE |
static int |
PCB_SLOT |
RedstoneController<TileEntityUVLightBox> |
rsController |
int |
threshold |
int |
ticksExisted |
airHandler| Constructor and Description |
|---|
TileEntityUVLightBox() |
| 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) |
static int |
getExposureProgress(net.minecraft.item.ItemStack stack) |
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.items.IItemHandler |
getPrimaryInventory() |
RedstoneController<TileEntityUVLightBox> |
getRedstoneController()
Get the redstone controller object for this TE
|
int |
getThreshold() |
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) |
void |
onDescUpdate() |
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT nbt) |
static void |
setExposureProgress(net.minecraft.item.ItemStack stack,
int progress) |
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, getHeatCap, getLuaMethodRegistry, getModelData, getName, getPeripheralType, getPosition, getRotation, getSpeedMultiplierFromUpgrades, getSpeedUsageMultiplierFromUpgrades, getUpdateTag, getUpgradeAcceptorTranslationKey, getUpgradeCache, getUpgradeHandler, getUpgrades, isGuiUseableByPlayer, 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, onRedstoneModeChangedgetDisplayNamepublic static final int INVENTORY_SIZE
public static final int PCB_SLOT
public final RedstoneController<TileEntityUVLightBox> rsController
public int threshold
public int ticksExisted
public void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick 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 nbt)
save in class TileEntityPneumaticBasepublic static int getExposureProgress(net.minecraft.item.ItemStack stack)
public static void setExposureProgress(net.minecraft.item.ItemStack stack,
int progress)
protected boolean shouldRerenderChunkOnDescUpdate()
shouldRerenderChunkOnDescUpdate in class TileEntityBasepublic void onDescUpdate()
onDescUpdate in interface IDescSyncedonDescUpdate in class TileEntityBasepublic boolean canConnectPneumatic(net.minecraft.util.Direction side)
TileEntityPneumaticBasecanConnectPneumatic in class TileEntityPneumaticBaseside - the side to checkpublic 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 net.minecraftforge.items.IItemHandler getOutputInventory()
protected net.minecraftforge.common.util.LazyOptional<net.minecraftforge.items.IItemHandler> getInventoryCap()
getInventoryCap in class TileEntityBasepublic RedstoneController<TileEntityUVLightBox> getRedstoneController()
IRedstoneControlgetRedstoneController in interface IRedstoneControl<TileEntityUVLightBox>public 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.IContainerProviderpublic int getThreshold()