public class TileEntityPressureChamberWall extends TileEntityBase implements IManoMeasurable, IInfoForwarder
TileEntityBase.UpgradeHandler| Constructor and Description |
|---|
TileEntityPressureChamberWall() |
| Modifier and Type | Method and Description |
|---|---|
TileEntityPressureChamberValve |
getCore() |
net.minecraft.tileentity.TileEntity |
getInfoTileEntity() |
net.minecraftforge.items.IItemHandler |
getPrimaryInventory() |
void |
load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT tag)
Reads a tile entity from NBT.
|
void |
onBlockBreak() |
void |
onDescUpdate() |
void |
printManometerMessage(net.minecraft.entity.player.PlayerEntity player,
java.util.List<net.minecraft.util.text.ITextComponent> curInfo)
This method is invoked by the Manometer when a player right-clicks a TE or Entity with this interface implemented.
|
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT tag) |
protected boolean |
shouldRerenderChunkOnDescUpdate() |
addLuaMethods, countPlayersUsing, getApplicableUpgrades, getCachedNeighbor, getCapability, getContentsToDrop, getCurrentRecipeIdSynced, getCustomName, getDescriptionFields, getDisplayName, getHeatCap, getInventoryCap, getLuaMethodRegistry, getModelData, getName, getPeripheralType, getPosition, getRotation, getSpeedMultiplierFromUpgrades, getSpeedUsageMultiplierFromUpgrades, getUpdateTag, getUpgradeAcceptorTranslationKey, getUpgradeCache, getUpgradeHandler, getUpgrades, handleGUIButtonPress, handleUpdateTag, isGuiUseableByPlayer, 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, waitpublic TileEntityPressureChamberValve getCore()
public void onBlockBreak()
public void onDescUpdate()
onDescUpdate in interface IDescSyncedonDescUpdate in class TileEntityBasepublic net.minecraftforge.items.IItemHandler getPrimaryInventory()
getPrimaryInventory in class TileEntityBasepublic void load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT tag)
load in class TileEntityBasepublic net.minecraft.nbt.CompoundNBT save(net.minecraft.nbt.CompoundNBT tag)
save in class TileEntityBasepublic void printManometerMessage(net.minecraft.entity.player.PlayerEntity player,
java.util.List<net.minecraft.util.text.ITextComponent> curInfo)
IManoMeasurableprintManometerMessage in interface IManoMeasurableplayer - player who is right-clicking the measurable TE, and therefore needs to get the messagecurInfo - list you can append info to. If you don't append any info no air will be used.protected boolean shouldRerenderChunkOnDescUpdate()
shouldRerenderChunkOnDescUpdate in class TileEntityBasepublic net.minecraft.tileentity.TileEntity getInfoTileEntity()
getInfoTileEntity in interface IInfoForwarder