public class TileEnvironmentalAccumulator extends EvilCraftBeaconTileEntity implements IDegradable
| Modifier and Type | Class and Description |
|---|---|
static class |
TileEnvironmentalAccumulator.Inventory |
| Constructor and Description |
|---|
TileEnvironmentalAccumulator()
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<net.minecraft.entity.Entity> |
getAreaEntities()
Get the list of entities within the area defined by
IDegradable.getRadius(). |
protected org.apache.commons.lang3.tuple.Triple<java.lang.Float,java.lang.Float,java.lang.Float> |
getBaseBeamColor() |
net.minecraft.world.server.ServerBossInfo |
getBossInfo() |
double |
getDegradation()
Get the numerical representation of the stage of degradation.
|
net.minecraft.world.World |
getDegradationWorld()
Get the world in which the degradable instance is located.
|
float |
getHealth() |
TileEnvironmentalAccumulator.Inventory |
getInventory() |
net.minecraft.util.math.BlockPos |
getLocation()
Get the center location of this degradable instance.
|
int |
getMaxCooldownTick()
Get the maximum cooldown tick for accumulating weather.
|
float |
getMaxHealth() |
float |
getMovingItemY()
Get the Y coordinate of the current moving item.
|
int |
getRadius()
Get the radius of the area.
|
RecipeEnvironmentalAccumulator |
getRecipe()
Get the current recipe we're working on.
|
protected net.minecraft.item.crafting.IRecipeType<RecipeEnvironmentalAccumulator> |
getRegistry() |
int |
getState() |
void |
onUpdateReceived() |
void |
read(net.minecraft.nbt.CompoundNBT compound) |
protected void |
recreateBossInfo() |
void |
remove() |
void |
setBeamColor(int state)
Set the beam colors.
|
protected void |
showAccumulatingParticles() |
static void |
showAccumulatingParticles(net.minecraft.world.World world,
float centerX,
float centerY,
float centerZ,
float spread) |
protected void |
showWaterBeams() |
void |
updateTileEntity() |
net.minecraft.nbt.CompoundNBT |
write(net.minecraft.nbt.CompoundNBT tag) |
getBeamColor, getMaxRenderDistanceSquared, getRenderBoundingBox, isBeamActive, setBeamActive, setBeamColoraddCapabilityInternal, addCapabilitySided, afterSendUpdate, beforeSendUpdate, canInteractWith, getCapability, getNBTTagCompound, getRotation, getStoredCapabilities, getUpdateBackoffTicks, getUpdatePacket, getUpdateTag, invalidateCaps, isTicking, onDataPacket, onDirty, onLoad, onSendUpdate, read, readGeneratedFieldsFromNBT, sendImmediateUpdate, sendUpdate, transformFacingForRotation, writeGeneratedFieldsToNBT, writeToItemStackaddInfoToCrashReport, getBlockState, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, onChunkUnloaded, onlyOpsCanSetNbt, readTileEntity, receiveClientEvent, rotate, setPos, setWorldAndPos, updateContainingBlockInfo, validate, warnInvalidBlockareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final int MAX_AGE
public static final int SPREAD
public TileEnvironmentalAccumulator()
public TileEnvironmentalAccumulator.Inventory getInventory()
protected void recreateBossInfo()
protected org.apache.commons.lang3.tuple.Triple<java.lang.Float,java.lang.Float,java.lang.Float> getBaseBeamColor()
public int getMaxCooldownTick()
public float getMovingItemY()
public RecipeEnvironmentalAccumulator getRecipe()
public void updateTileEntity()
updateTileEntity in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntitypublic void remove()
remove in class net.minecraft.tileentity.TileEntityprotected void showWaterBeams()
protected void showAccumulatingParticles()
public static void showAccumulatingParticles(net.minecraft.world.World world,
float centerX,
float centerY,
float centerZ,
float spread)
protected net.minecraft.item.crafting.IRecipeType<RecipeEnvironmentalAccumulator> getRegistry()
public void onUpdateReceived()
onUpdateReceived in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntitypublic void setBeamColor(int state)
state - The state to base the colors on.public int getState()
public void read(net.minecraft.nbt.CompoundNBT compound)
read in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntitypublic net.minecraft.nbt.CompoundNBT write(net.minecraft.nbt.CompoundNBT tag)
write in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntitypublic float getMaxHealth()
public float getHealth()
public net.minecraft.util.math.BlockPos getLocation()
IDegradablegetLocation in interface IDegradablepublic int getRadius()
IDegradablegetRadius in interface IDegradablepublic java.util.List<net.minecraft.entity.Entity> getAreaEntities()
IDegradableIDegradable.getRadius().getAreaEntities in interface IDegradablepublic double getDegradation()
IDegradablegetDegradation in interface IDegradablepublic net.minecraft.world.World getDegradationWorld()
IDegradablegetDegradationWorld in interface IDegradablepublic net.minecraft.world.server.ServerBossInfo getBossInfo()