public abstract class EvilCraftBeaconTileEntity
extends org.cyclops.cyclopscore.tileentity.CyclopsTileEntity
implements org.cyclops.cyclopscore.tileentity.CyclopsTileEntity.ITickingTile
| Constructor and Description |
|---|
EvilCraftBeaconTileEntity()
Make a new instance.
|
EvilCraftBeaconTileEntity(org.lwjgl.util.vector.Vector4f beamColor)
Make a new instance with set color.
|
| Modifier and Type | Method and Description |
|---|---|
org.lwjgl.util.vector.Vector4f |
getBeamColor()
Get the outer color.
|
float |
getBeamRenderVariable()
Get the beam render variable that is used for the rotation based on the tick time.
|
double |
getMaxRenderDistanceSquared() |
net.minecraft.util.math.AxisAlignedBB |
getRenderBoundingBox() |
boolean |
isBeamActive()
If the beam should be rendered.
|
void |
setBeamActive(boolean active)
Set if the beam should be rendered.
|
void |
setBeamColor(org.lwjgl.util.vector.Vector4f beamOuterColor)
Set the outer color.
|
addCapabilityInternal, addCapabilitySided, afterSendUpdate, beforeSendUpdate, canInteractWith, destroy, getBlock, getCapabilities, getCapability, getNBTTagCompound, getRotation, getUpdateBackoffTicks, getUpdatePacket, getUpdateTag, hasCapability, isRotatable, isTicking, onDataPacket, onLoad, onSendUpdate, onUpdateReceived, readFromNBT, readGeneratedFieldsFromNBT, sendImmediateUpdate, sendUpdate, setRotatable, setRotation, shouldRefresh, transformFacingForRotation, updateTileEntity, writeGeneratedFieldsToNBT, writeToNBTaddInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getDisplayName, getDistanceSq, getKey, getPos, getTileData, getWorld, handleUpdateTag, hasFastRenderer, hasWorld, invalidate, isInvalid, markDirty, mirror, onChunkUnload, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRenderInPass, updateContainingBlockInfo, validatepublic EvilCraftBeaconTileEntity()
public EvilCraftBeaconTileEntity(org.lwjgl.util.vector.Vector4f beamColor)
beamColor - The color for the beam.public org.lwjgl.util.vector.Vector4f getBeamColor()
public void setBeamColor(org.lwjgl.util.vector.Vector4f beamOuterColor)
beamOuterColor - The outer color.public boolean isBeamActive()
public void setBeamActive(boolean active)
active - If it is active.public float getBeamRenderVariable()
public double getMaxRenderDistanceSquared()
getMaxRenderDistanceSquared in class net.minecraft.tileentity.TileEntitypublic net.minecraft.util.math.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox in class net.minecraft.tileentity.TileEntity