blob: e4571fafd8d78f209b34096259fd9541441e9bf4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package jp.plusplus.fbs.tileentity;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import jp.plusplus.fbs.block.BlockCore;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.AxisAlignedBB;
/**
* Created by plusplus_F on 2015/09/25.
* 毎度おなじみレンダーのためだけのTE
*/
public class TileEntityForRender extends TileEntity {
@SideOnly(Side.CLIENT)
public AxisAlignedBB getRenderBoundingBox() {
if(getBlockType()== BlockCore.tableAlchemist) return AxisAlignedBB.getBoundingBox(xCoord-1,yCoord,zCoord-1,xCoord+2,yCoord+1,zCoord+2);
else return super.getRenderBoundingBox();
}
}
|