public class TileBoxOfEternalClosure
extends org.cyclops.cyclopscore.tileentity.CyclopsTileEntity
implements org.cyclops.cyclopscore.tileentity.CyclopsTileEntity.ITickingTile
| Modifier and Type | Class and Description |
|---|---|
static class |
TileBoxOfEternalClosure.State |
| Modifier and Type | Field and Description |
|---|---|
int |
innerRotation
Inner rotation of a beam.
|
static java.lang.String |
NBTKEY_PLAYERID
The name of the NBT tag that will hold the player id.
|
static java.lang.String |
NBTKEY_PLAYERNAME
The name of the NBT tag that will hold the player name.
|
static java.lang.String |
NBTKEY_SPIRIT
The name of the NBT tag that will hold spirit entity data.
|
static float |
START_LID_ANGLE
The lid angle for when this box is open.
|
| Constructor and Description |
|---|
TileBoxOfEternalClosure()
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
float |
getLidAngle() |
float |
getPreviousLidAngle() |
net.minecraft.util.math.AxisAlignedBB |
getRenderBoundingBox() |
VengeanceSpiritData |
getSpiritData() |
static java.lang.String |
getSpiritNameOrNullFromNBTTag(net.minecraft.nbt.NBTTagCompound tag) |
protected net.minecraft.nbt.NBTTagCompound |
getSpiritTag() |
TileBoxOfEternalClosure.State |
getState() |
VengeanceSpirit |
getTargetSpirit() |
boolean |
hasSpirit() |
boolean |
isClosed() |
protected void |
onSendUpdate() |
void |
open() |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound tag) |
protected void |
updateLight() |
void |
updateTileEntity() |
addCapabilityInternal, addCapabilitySided, afterSendUpdate, beforeSendUpdate, canInteractWith, destroy, getBlock, getCapabilities, getCapability, getNBTTagCompound, getRotation, getUpdateBackoffTicks, getUpdatePacket, getUpdateTag, hasCapability, isRotatable, isTicking, onDataPacket, onLoad, onUpdateReceived, readGeneratedFieldsFromNBT, sendImmediateUpdate, sendUpdate, setRotatable, setRotation, shouldRefresh, writeGeneratedFieldsToNBT, writeToNBTaddInfoToCrashReport, addMapping, canRenderBreaking, create, deserializeNBT, func_189667_a, func_189668_a, getBlockMetadata, getBlockType, getDisplayName, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getWorld, handleUpdateTag, hasFastRenderer, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, onlyOpsCanSetNbt, receiveClientEvent, restrictNBTCopy, serializeNBT, setPos, setWorldCreate, setWorldObj, shouldRenderInPass, updateContainingBlockInfo, validatepublic static final java.lang.String NBTKEY_SPIRIT
public static final java.lang.String NBTKEY_PLAYERID
public static final java.lang.String NBTKEY_PLAYERNAME
public static final float START_LID_ANGLE
public int innerRotation
public static java.lang.String getSpiritNameOrNullFromNBTTag(net.minecraft.nbt.NBTTagCompound tag)
protected net.minecraft.nbt.NBTTagCompound getSpiritTag()
public boolean isClosed()
public TileBoxOfEternalClosure.State getState()
public boolean hasSpirit()
public void open()
public void close()
public void updateTileEntity()
updateTileEntity in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntityprotected void updateLight()
public float getLidAngle()
public float getPreviousLidAngle()
public VengeanceSpirit getTargetSpirit()
public VengeanceSpiritData getSpiritData()
public net.minecraft.util.math.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox in class net.minecraft.tileentity.TileEntityprotected void onSendUpdate()
onSendUpdate in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntitypublic void readFromNBT(net.minecraft.nbt.NBTTagCompound tag)
readFromNBT in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntity