public class TileEntityElevatorCaller extends TileEntityTickableBase implements ICamouflageableTE, IRedstoneControl<TileEntityElevatorCaller>
| Modifier and Type | Class and Description |
|---|---|
static class |
TileEntityElevatorCaller.ElevatorButton |
TileEntityBase.UpgradeHandler| Constructor and Description |
|---|
TileEntityElevatorCaller() |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.block.BlockState |
getCamouflage()
Get the camouflage state; the blockstate which will be used to render this tile entity's block.
|
boolean |
getEmittingRedstone() |
TileEntityElevatorCaller.ElevatorButton[] |
getFloors() |
net.minecraftforge.items.IItemHandler |
getPrimaryInventory() |
RedstoneController<TileEntityElevatorCaller> |
getRedstoneController()
Get the redstone controller object for this TE
|
net.minecraft.util.math.AxisAlignedBB |
getRenderBoundingBox() |
void |
load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT tag) |
void |
onNeighborBlockUpdate(net.minecraft.util.math.BlockPos fromPos)
Called when a neighboring block changes state (i.e.
|
void |
readFromPacket(net.minecraft.nbt.CompoundNBT tag)
Encoded into the description packet.
|
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT tag) |
void |
setCamouflage(net.minecraft.block.BlockState state)
Set the camouflage for the tile entity.
|
void |
setEmittingRedstone(boolean emittingRedstone) |
void |
tick() |
void |
writeToPacket(net.minecraft.nbt.CompoundNBT tag)
Encoded into the description packet.
|
addLuaMethods, clearCache, 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, onDescUpdate, onFirstServerTick, onGuiUpdate, onNeighborTileUpdate, onUpgradesChanged, requestModelDataUpdate, sendDescriptionPacket, serializeExtraItemData, setCustomName, setPreserveStateOnBreak, setRemoved, shouldPreserveStateOnBreak, shouldRerenderChunkOnDescUpdate, 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, waitgetStackForState, readCamo, syncToClient, writeCamogetCurrentRedstonePower, getRedstoneMode, getRedstoneTabTitle, onRedstoneModeChangedpublic void setEmittingRedstone(boolean emittingRedstone)
public void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class TileEntityTickableBasepublic boolean getEmittingRedstone()
public 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 readFromPacket(net.minecraft.nbt.CompoundNBT tag)
TileEntityBaseTileEntityBase#read(BlockState, CompoundNBT).
Prefer to use @DescSynced where possible - use this either for complex fields not handled by @DescSynced,
or for non-ticking tile entities.readFromPacket in interface IDescSyncedreadFromPacket in class TileEntityBasetag - NBT tagpublic void writeToPacket(net.minecraft.nbt.CompoundNBT tag)
TileEntityBaseTileEntityBase#write(CompoundNBT)
Prefer to use @DescSynced where possible - use this either for complex fields not handled by @DescSynced,
or for non-ticking tile entities.writeToPacket in interface IDescSyncedwriteToPacket in class TileEntityBasetag - NBT tagpublic void onNeighborBlockUpdate(net.minecraft.util.math.BlockPos fromPos)
TileEntityBaseonNeighborBlockUpdate in class TileEntityBasefromPos - the blockpos of the block that caused this updatepublic net.minecraftforge.items.IItemHandler getPrimaryInventory()
getPrimaryInventory in class TileEntityBasepublic TileEntityElevatorCaller.ElevatorButton[] getFloors()
public net.minecraft.util.math.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox in interface net.minecraftforge.common.extensions.IForgeTileEntitypublic net.minecraft.block.BlockState getCamouflage()
ICamouflageableTEgetCamouflage in interface ICamouflageableTEpublic void setCamouflage(net.minecraft.block.BlockState state)
ICamouflageableTEsetCamouflage in interface ICamouflageableTEstate - the camo block statepublic RedstoneController<TileEntityElevatorCaller> getRedstoneController()
IRedstoneControlgetRedstoneController in interface IRedstoneControl<TileEntityElevatorCaller>