2014-09-19 04:38:14 +02:00
|
|
|
package com.pahimar.ee3.tileentity;
|
|
|
|
|
2014-10-02 06:16:47 +02:00
|
|
|
import com.pahimar.ee3.array.Glyph;
|
|
|
|
import com.pahimar.ee3.array.Symbols;
|
2014-09-25 22:23:45 +02:00
|
|
|
import cpw.mods.fml.relauncher.Side;
|
|
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
|
|
|
import net.minecraft.util.AxisAlignedBB;
|
2014-09-24 22:02:45 +02:00
|
|
|
|
|
|
|
import java.util.ArrayList;
|
2014-10-02 06:16:47 +02:00
|
|
|
import java.util.Arrays;
|
2014-09-24 22:02:45 +02:00
|
|
|
import java.util.List;
|
|
|
|
|
2014-09-19 04:38:14 +02:00
|
|
|
public class TileEntityAlchemyArray extends TileEntityEE
|
|
|
|
{
|
2014-10-02 06:16:47 +02:00
|
|
|
private List<Glyph> glyphs;
|
2014-09-25 22:23:45 +02:00
|
|
|
private int largestSymbolSize;
|
2014-09-24 22:02:45 +02:00
|
|
|
|
|
|
|
public TileEntityAlchemyArray()
|
|
|
|
{
|
|
|
|
super();
|
2014-10-02 06:16:47 +02:00
|
|
|
glyphs = new ArrayList<Glyph>(Arrays.asList(Symbols.BASE_CIRCLE, Symbols.TRIANGLE));
|
|
|
|
this.largestSymbolSize = 1;
|
2014-09-24 22:02:45 +02:00
|
|
|
}
|
|
|
|
|
2014-10-02 06:16:47 +02:00
|
|
|
public List<Glyph> getGlyphs()
|
2014-09-24 22:02:45 +02:00
|
|
|
{
|
2014-10-02 06:16:47 +02:00
|
|
|
return glyphs;
|
2014-09-25 22:23:45 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public int getLargestSymbolSize()
|
|
|
|
{
|
|
|
|
return largestSymbolSize;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@SideOnly(Side.CLIENT)
|
|
|
|
public AxisAlignedBB getRenderBoundingBox()
|
|
|
|
{
|
|
|
|
return AxisAlignedBB.getBoundingBox(xCoord - largestSymbolSize, yCoord, zCoord - largestSymbolSize, xCoord + largestSymbolSize, yCoord, zCoord + largestSymbolSize);
|
2014-09-24 22:02:45 +02:00
|
|
|
}
|
2014-09-19 04:38:14 +02:00
|
|
|
}
|