@Override
public void execute(EntityPlayer player, Side side) throws ProtocolException
{
if (side.isServer())
{
TileEntityLevelEmitterFluid tile = (TileEntityLevelEmitterFluid) world.getBlockTileEntity(x, y, z);
switch (type)
{
case 0:
tile.setAmount(filterAmount);
break;
case 1:
switch (tile.getRedstoneAction())
{
case WhenOff:
tile.setRedstoneAction(RedstoneModeInput.WhenOn);
break;
case WhenOn:
tile.setRedstoneAction(RedstoneModeInput.WhenOff);
break;
default:
break;
}
break;