2014-05-18 05:19:23 +02:00
|
|
|
package appeng.block.crafting;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
import net.minecraft.creativetab.CreativeTabs;
|
|
|
|
import net.minecraft.item.Item;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
import net.minecraft.util.IIcon;
|
2014-05-26 03:58:44 +02:00
|
|
|
import appeng.client.texture.ExtraBlockTextures;
|
2014-05-18 05:19:23 +02:00
|
|
|
import appeng.tile.crafting.TileCraftingMonitorTile;
|
|
|
|
|
|
|
|
public class BlockCraftingMonitor extends BlockCraftingUnit
|
|
|
|
{
|
|
|
|
|
|
|
|
public BlockCraftingMonitor() {
|
|
|
|
super( BlockCraftingMonitor.class );
|
|
|
|
setTileEntiy( TileCraftingMonitorTile.class );
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public IIcon getIcon(int direction, int metadata)
|
|
|
|
{
|
|
|
|
switch (metadata)
|
|
|
|
{
|
|
|
|
default:
|
|
|
|
case 0:
|
|
|
|
return super.getIcon( 0, 0 );
|
|
|
|
case 0 | FLAG_FORMED:
|
2014-05-26 03:58:44 +02:00
|
|
|
return ExtraBlockTextures.BlockCraftingMonitorFit.getIcon();
|
2014-05-18 05:19:23 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void getSubBlocks(Item i, CreativeTabs c, List l)
|
|
|
|
{
|
|
|
|
l.add( new ItemStack( this, 1, 0 ) );
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|