Added the bare bones for the "movement array"

This commit is contained in:
WayofTime 2016-06-28 13:55:26 -04:00
parent 707be222f5
commit bb8552b4b5
5 changed files with 170 additions and 2 deletions

View file

@ -100,6 +100,7 @@ public class BlockAlchemyArray extends BlockContainer
@Override
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ)
{
//TODO: Right click should rotate it
TileAlchemyArray array = (TileAlchemyArray) world.getTileEntity(pos);
if (array == null || player.isSneaking())