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() |
java.lang.String |
getPlayerId() |
java.lang.String |
getPlayerName() |
float |
getPreviousLidAngle() |
net.minecraft.util.math.AxisAlignedBB |
getRenderBoundingBox() |
EntityVengeanceSpiritData |
getSpiritData() |
net.minecraft.nbt.CompoundNBT |
getSpiritTag() |
static net.minecraft.entity.EntityType<?> |
getSpiritType(net.minecraft.nbt.CompoundNBT tag) |
TileBoxOfEternalClosure.State |
getState() |
EntityVengeanceSpirit |
getTargetSpirit() |
boolean |
hasSpirit() |
void |
initializeState() |
boolean |
isClosed() |
protected void |
onSendUpdate() |
void |
open() |
void |
read(net.minecraft.nbt.CompoundNBT tag) |
void |
setPlayerId(java.lang.String playerId) |
void |
setPlayerName(java.lang.String playerName) |
void |
setSpiritTag(net.minecraft.nbt.CompoundNBT tag) |
protected void |
updateLight() |
void |
updateTileEntity() |
addCapabilityInternal, addCapabilitySided, afterSendUpdate, beforeSendUpdate, canInteractWith, getCapability, getNBTTagCompound, getRotation, getStoredCapabilities, getUpdateBackoffTicks, getUpdatePacket, getUpdateTag, invalidateCaps, isTicking, onDataPacket, onDirty, onLoad, onUpdateReceived, read, readGeneratedFieldsFromNBT, sendImmediateUpdate, sendUpdate, transformFacingForRotation, write, writeGeneratedFieldsToNBT, writeToItemStackaddInfoToCrashReport, getBlockState, getMaxRenderDistanceSquared, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, onChunkUnloaded, onlyOpsCanSetNbt, readTileEntity, receiveClientEvent, remove, rotate, setPos, setWorldAndPos, updateContainingBlockInfo, validate, warnInvalidBlockareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic 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
@Nullable
public static net.minecraft.entity.EntityType<?> getSpiritType(@Nullable
net.minecraft.nbt.CompoundNBT tag)
public net.minecraft.nbt.CompoundNBT getSpiritTag()
public java.lang.String getPlayerId()
public void setPlayerId(java.lang.String playerId)
public java.lang.String getPlayerName()
public void setPlayerName(java.lang.String playerName)
public void setSpiritTag(net.minecraft.nbt.CompoundNBT tag)
public boolean isClosed()
public TileBoxOfEternalClosure.State getState()
public boolean hasSpirit()
public void open()
public void close()
public void initializeState()
public void updateTileEntity()
updateTileEntity in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntityprotected void updateLight()
public float getLidAngle()
public float getPreviousLidAngle()
public EntityVengeanceSpirit getTargetSpirit()
public EntityVengeanceSpiritData getSpiritData()
public net.minecraft.util.math.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox in interface net.minecraftforge.common.extensions.IForgeTileEntityprotected void onSendUpdate()
onSendUpdate in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntitypublic void read(net.minecraft.nbt.CompoundNBT tag)
read in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntity